/*
 Navicat Premium Data Transfer

 Source Server         : mysql@127.0.0.1
 Source Server Type    : MySQL
 Source Server Version : 80034 (8.0.34)
 Source Host           : 127.0.0.1:3306
 Source Schema         : ry-vue

 Target Server Type    : MySQL
 Target Server Version : 80034 (8.0.34)
 File Encoding         : 65001

 Date: 22/05/2024 23:31:33
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for ACT_EVT_LOG
-- ----------------------------
DROP TABLE IF EXISTS `ACT_EVT_LOG`;
CREATE TABLE `ACT_EVT_LOG` (
  `LOG_NR_` bigint NOT NULL AUTO_INCREMENT,
  `TYPE_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `TIME_STAMP_` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  `USER_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `DATA_` longblob,
  `LOCK_OWNER_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `LOCK_TIME_` timestamp(3) NULL DEFAULT NULL,
  `IS_PROCESSED_` tinyint DEFAULT '0',
  PRIMARY KEY (`LOG_NR_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_EVT_LOG
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_GE_BYTEARRAY
-- ----------------------------
DROP TABLE IF EXISTS `ACT_GE_BYTEARRAY`;
CREATE TABLE `ACT_GE_BYTEARRAY` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `DEPLOYMENT_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `BYTES_` longblob,
  `GENERATED_` tinyint DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_FK_BYTEARR_DEPL` (`DEPLOYMENT_ID_`),
  CONSTRAINT `ACT_FK_BYTEARR_DEPL` FOREIGN KEY (`DEPLOYMENT_ID_`) REFERENCES `ACT_RE_DEPLOYMENT` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_GE_BYTEARRAY
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_GE_PROPERTY
-- ----------------------------
DROP TABLE IF EXISTS `ACT_GE_PROPERTY`;
CREATE TABLE `ACT_GE_PROPERTY` (
  `NAME_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `VALUE_` varchar(300) COLLATE utf8mb3_bin DEFAULT NULL,
  `REV_` int DEFAULT NULL,
  PRIMARY KEY (`NAME_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_GE_PROPERTY
-- ----------------------------
BEGIN;
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('batch.schema.version', '7.0.0.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('cfg.execution-related-entities-count', 'true', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('cfg.task-related-entities-count', 'true', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('common.schema.version', '7.0.0.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('entitylink.schema.version', '7.0.0.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('eventsubscription.schema.version', '7.0.0.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('identitylink.schema.version', '7.0.0.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('job.schema.version', '7.0.0.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('next.dbid', '1', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('schema.history', 'create(7.0.0.0)', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('schema.version', '7.0.0.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('task.schema.version', '7.0.0.0', 1);
INSERT INTO `ACT_GE_PROPERTY` (`NAME_`, `VALUE_`, `REV_`) VALUES ('variable.schema.version', '7.0.0.0', 1);
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_ACTINST
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_ACTINST`;
CREATE TABLE `ACT_HI_ACTINST` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT '1',
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `EXECUTION_ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `ACT_ID_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `TASK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `CALL_PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `ACT_NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `ACT_TYPE_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `ASSIGNEE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `START_TIME_` datetime(3) NOT NULL,
  `END_TIME_` datetime(3) DEFAULT NULL,
  `TRANSACTION_ORDER_` int DEFAULT NULL,
  `DURATION_` bigint DEFAULT NULL,
  `DELETE_REASON_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_ACT_INST_START` (`START_TIME_`),
  KEY `ACT_IDX_HI_ACT_INST_END` (`END_TIME_`),
  KEY `ACT_IDX_HI_ACT_INST_PROCINST` (`PROC_INST_ID_`,`ACT_ID_`),
  KEY `ACT_IDX_HI_ACT_INST_EXEC` (`EXECUTION_ID_`,`ACT_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_ACTINST
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_ATTACHMENT
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_ATTACHMENT`;
CREATE TABLE `ACT_HI_ATTACHMENT` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `USER_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `DESCRIPTION_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `URL_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `CONTENT_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `TIME_` datetime(3) DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_ATTACHMENT
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_COMMENT
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_COMMENT`;
CREATE TABLE `ACT_HI_COMMENT` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TIME_` datetime(3) NOT NULL,
  `USER_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `ACTION_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `MESSAGE_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `FULL_MSG_` longblob,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_COMMENT
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_DETAIL
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_DETAIL`;
CREATE TABLE `ACT_HI_DETAIL` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `TYPE_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `ACT_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `NAME_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `VAR_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `REV_` int DEFAULT NULL,
  `TIME_` datetime(3) NOT NULL,
  `BYTEARRAY_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `DOUBLE_` double DEFAULT NULL,
  `LONG_` bigint DEFAULT NULL,
  `TEXT_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `TEXT2_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_DETAIL_PROC_INST` (`PROC_INST_ID_`),
  KEY `ACT_IDX_HI_DETAIL_ACT_INST` (`ACT_INST_ID_`),
  KEY `ACT_IDX_HI_DETAIL_TIME` (`TIME_`),
  KEY `ACT_IDX_HI_DETAIL_NAME` (`NAME_`),
  KEY `ACT_IDX_HI_DETAIL_TASK_ID` (`TASK_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_DETAIL
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_ENTITYLINK
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_ENTITYLINK`;
CREATE TABLE `ACT_HI_ENTITYLINK` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `LINK_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CREATE_TIME_` datetime(3) DEFAULT NULL,
  `SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `PARENT_ELEMENT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `REF_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `REF_SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `REF_SCOPE_DEFINITION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `ROOT_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `ROOT_SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `HIERARCHY_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_ENT_LNK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_HI_ENT_LNK_REF_SCOPE` (`REF_SCOPE_ID_`,`REF_SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_HI_ENT_LNK_ROOT_SCOPE` (`ROOT_SCOPE_ID_`,`ROOT_SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_HI_ENT_LNK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`,`LINK_TYPE_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_ENTITYLINK
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_IDENTITYLINK
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_IDENTITYLINK`;
CREATE TABLE `ACT_HI_IDENTITYLINK` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `GROUP_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `USER_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `CREATE_TIME_` datetime(3) DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_IDENT_LNK_USER` (`USER_ID_`),
  KEY `ACT_IDX_HI_IDENT_LNK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_IDENT_LNK_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_IDENT_LNK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_IDENT_LNK_TASK` (`TASK_ID_`),
  KEY `ACT_IDX_HI_IDENT_LNK_PROCINST` (`PROC_INST_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_IDENTITYLINK
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_PROCINST
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_PROCINST`;
CREATE TABLE `ACT_HI_PROCINST` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT '1',
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `BUSINESS_KEY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `START_TIME_` datetime(3) NOT NULL,
  `END_TIME_` datetime(3) DEFAULT NULL,
  `DURATION_` bigint DEFAULT NULL,
  `START_USER_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `START_ACT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `END_ACT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUPER_PROCESS_INSTANCE_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `DELETE_REASON_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  `NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CALLBACK_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CALLBACK_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `REFERENCE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `REFERENCE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROPAGATED_STAGE_INST_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `BUSINESS_STATUS_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `PROC_INST_ID_` (`PROC_INST_ID_`),
  KEY `ACT_IDX_HI_PRO_INST_END` (`END_TIME_`),
  KEY `ACT_IDX_HI_PRO_I_BUSKEY` (`BUSINESS_KEY_`),
  KEY `ACT_IDX_HI_PRO_SUPER_PROCINST` (`SUPER_PROCESS_INSTANCE_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_PROCINST
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_TASKINST
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_TASKINST`;
CREATE TABLE `ACT_HI_TASKINST` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT '1',
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `TASK_DEF_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `TASK_DEF_KEY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROPAGATED_STAGE_INST_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `PARENT_TASK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `DESCRIPTION_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `OWNER_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `ASSIGNEE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `START_TIME_` datetime(3) NOT NULL,
  `CLAIM_TIME_` datetime(3) DEFAULT NULL,
  `END_TIME_` datetime(3) DEFAULT NULL,
  `DURATION_` bigint DEFAULT NULL,
  `DELETE_REASON_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `PRIORITY_` int DEFAULT NULL,
  `DUE_DATE_` datetime(3) DEFAULT NULL,
  `FORM_KEY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CATEGORY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  `LAST_UPDATED_TIME_` datetime(3) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_TASK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_TASK_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_TASK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_TASK_INST_PROCINST` (`PROC_INST_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_TASKINST
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_TSK_LOG
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_TSK_LOG`;
CREATE TABLE `ACT_HI_TSK_LOG` (
  `ID_` bigint NOT NULL AUTO_INCREMENT,
  `TYPE_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `TIME_STAMP_` timestamp(3) NOT NULL,
  `USER_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `DATA_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_TSK_LOG
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_HI_VARINST
-- ----------------------------
DROP TABLE IF EXISTS `ACT_HI_VARINST`;
CREATE TABLE `ACT_HI_VARINST` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT '1',
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `NAME_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `VAR_TYPE_` varchar(100) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `BYTEARRAY_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `DOUBLE_` double DEFAULT NULL,
  `LONG_` bigint DEFAULT NULL,
  `TEXT_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `TEXT2_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `META_INFO_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `CREATE_TIME_` datetime(3) DEFAULT NULL,
  `LAST_UPDATED_TIME_` datetime(3) DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_HI_PROCVAR_NAME_TYPE` (`NAME_`,`VAR_TYPE_`),
  KEY `ACT_IDX_HI_VAR_SCOPE_ID_TYPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_VAR_SUB_ID_TYPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_HI_PROCVAR_PROC_INST` (`PROC_INST_ID_`),
  KEY `ACT_IDX_HI_PROCVAR_TASK_ID` (`TASK_ID_`),
  KEY `ACT_IDX_HI_PROCVAR_EXE` (`EXECUTION_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_HI_VARINST
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_PROCDEF_INFO
-- ----------------------------
DROP TABLE IF EXISTS `ACT_PROCDEF_INFO`;
CREATE TABLE `ACT_PROCDEF_INFO` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `INFO_JSON_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `ACT_UNIQ_INFO_PROCDEF` (`PROC_DEF_ID_`),
  KEY `ACT_IDX_INFO_PROCDEF` (`PROC_DEF_ID_`),
  KEY `ACT_FK_INFO_JSON_BA` (`INFO_JSON_ID_`),
  CONSTRAINT `ACT_FK_INFO_JSON_BA` FOREIGN KEY (`INFO_JSON_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_INFO_PROCDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_PROCDEF_INFO
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RE_DEPLOYMENT
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RE_DEPLOYMENT`;
CREATE TABLE `ACT_RE_DEPLOYMENT` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CATEGORY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `KEY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  `DEPLOY_TIME_` timestamp(3) NULL DEFAULT NULL,
  `DERIVED_FROM_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `DERIVED_FROM_ROOT_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PARENT_DEPLOYMENT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `ENGINE_VERSION_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RE_DEPLOYMENT
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RE_MODEL
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RE_MODEL`;
CREATE TABLE `ACT_RE_MODEL` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `KEY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CATEGORY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `LAST_UPDATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `VERSION_` int DEFAULT NULL,
  `META_INFO_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `DEPLOYMENT_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `EDITOR_SOURCE_VALUE_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `EDITOR_SOURCE_EXTRA_VALUE_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_FK_MODEL_SOURCE` (`EDITOR_SOURCE_VALUE_ID_`),
  KEY `ACT_FK_MODEL_SOURCE_EXTRA` (`EDITOR_SOURCE_EXTRA_VALUE_ID_`),
  KEY `ACT_FK_MODEL_DEPLOYMENT` (`DEPLOYMENT_ID_`),
  CONSTRAINT `ACT_FK_MODEL_DEPLOYMENT` FOREIGN KEY (`DEPLOYMENT_ID_`) REFERENCES `ACT_RE_DEPLOYMENT` (`ID_`),
  CONSTRAINT `ACT_FK_MODEL_SOURCE` FOREIGN KEY (`EDITOR_SOURCE_VALUE_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_MODEL_SOURCE_EXTRA` FOREIGN KEY (`EDITOR_SOURCE_EXTRA_VALUE_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RE_MODEL
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RE_PROCDEF
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RE_PROCDEF`;
CREATE TABLE `ACT_RE_PROCDEF` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `CATEGORY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `KEY_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `VERSION_` int NOT NULL,
  `DEPLOYMENT_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `RESOURCE_NAME_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `DGRM_RESOURCE_NAME_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `DESCRIPTION_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `HAS_START_FORM_KEY_` tinyint DEFAULT NULL,
  `HAS_GRAPHICAL_NOTATION_` tinyint DEFAULT NULL,
  `SUSPENSION_STATE_` int DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  `ENGINE_VERSION_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `DERIVED_FROM_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `DERIVED_FROM_ROOT_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `DERIVED_VERSION_` int NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `ACT_UNIQ_PROCDEF` (`KEY_`,`VERSION_`,`DERIVED_VERSION_`,`TENANT_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RE_PROCDEF
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_ACTINST
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_ACTINST`;
CREATE TABLE `ACT_RU_ACTINST` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT '1',
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `EXECUTION_ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `ACT_ID_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `TASK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `CALL_PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `ACT_NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `ACT_TYPE_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `ASSIGNEE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `START_TIME_` datetime(3) NOT NULL,
  `END_TIME_` datetime(3) DEFAULT NULL,
  `DURATION_` bigint DEFAULT NULL,
  `TRANSACTION_ORDER_` int DEFAULT NULL,
  `DELETE_REASON_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_RU_ACTI_START` (`START_TIME_`),
  KEY `ACT_IDX_RU_ACTI_END` (`END_TIME_`),
  KEY `ACT_IDX_RU_ACTI_PROC` (`PROC_INST_ID_`),
  KEY `ACT_IDX_RU_ACTI_PROC_ACT` (`PROC_INST_ID_`,`ACT_ID_`),
  KEY `ACT_IDX_RU_ACTI_EXEC` (`EXECUTION_ID_`),
  KEY `ACT_IDX_RU_ACTI_EXEC_ACT` (`EXECUTION_ID_`,`ACT_ID_`),
  KEY `ACT_IDX_RU_ACTI_TASK` (`TASK_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_ACTINST
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_DEADLETTER_JOB
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_DEADLETTER_JOB`;
CREATE TABLE `ACT_RU_DEADLETTER_JOB` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `CATEGORY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TYPE_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROCESS_INSTANCE_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `ELEMENT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `ELEMENT_NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CORRELATION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `DUEDATE_` timestamp(3) NULL DEFAULT NULL,
  `REPEAT_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_DEADLETTER_JOB_EXCEPTION_STACK_ID` (`EXCEPTION_STACK_ID_`),
  KEY `ACT_IDX_DEADLETTER_JOB_CUSTOM_VALUES_ID` (`CUSTOM_VALUES_ID_`),
  KEY `ACT_IDX_DEADLETTER_JOB_CORRELATION_ID` (`CORRELATION_ID_`),
  KEY `ACT_IDX_DJOB_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_DJOB_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_DJOB_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_DEADLETTER_JOB_EXECUTION` (`EXECUTION_ID_`),
  KEY `ACT_FK_DEADLETTER_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`),
  KEY `ACT_FK_DEADLETTER_JOB_PROC_DEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_DEADLETTER_JOB_CUSTOM_VALUES` FOREIGN KEY (`CUSTOM_VALUES_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_DEADLETTER_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_DEADLETTER_JOB_EXECUTION` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_DEADLETTER_JOB_PROC_DEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`),
  CONSTRAINT `ACT_FK_DEADLETTER_JOB_PROCESS_INSTANCE` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_DEADLETTER_JOB
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_ENTITYLINK
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_ENTITYLINK`;
CREATE TABLE `ACT_RU_ENTITYLINK` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `CREATE_TIME_` datetime(3) DEFAULT NULL,
  `LINK_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `PARENT_ELEMENT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `REF_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `REF_SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `REF_SCOPE_DEFINITION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `ROOT_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `ROOT_SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `HIERARCHY_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_ENT_LNK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_ENT_LNK_REF_SCOPE` (`REF_SCOPE_ID_`,`REF_SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_ENT_LNK_ROOT_SCOPE` (`ROOT_SCOPE_ID_`,`ROOT_SCOPE_TYPE_`,`LINK_TYPE_`),
  KEY `ACT_IDX_ENT_LNK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`,`LINK_TYPE_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_ENTITYLINK
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_EVENT_SUBSCR
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_EVENT_SUBSCR`;
CREATE TABLE `ACT_RU_EVENT_SUBSCR` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `EVENT_TYPE_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `EVENT_NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `ACTIVITY_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `CONFIGURATION_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CREATED_` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3),
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `LOCK_TIME_` timestamp(3) NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_EVENT_SUBSCR_CONFIG_` (`CONFIGURATION_`),
  KEY `ACT_IDX_EVENT_SUBSCR_SCOPEREF_` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_EVENT_EXEC` (`EXECUTION_ID_`),
  CONSTRAINT `ACT_FK_EVENT_EXEC` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_EVENT_SUBSCR
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_EXECUTION
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_EXECUTION`;
CREATE TABLE `ACT_RU_EXECUTION` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `BUSINESS_KEY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `PARENT_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUPER_EXEC_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `ROOT_PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `ACT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `IS_ACTIVE_` tinyint DEFAULT NULL,
  `IS_CONCURRENT_` tinyint DEFAULT NULL,
  `IS_SCOPE_` tinyint DEFAULT NULL,
  `IS_EVENT_SCOPE_` tinyint DEFAULT NULL,
  `IS_MI_ROOT_` tinyint DEFAULT NULL,
  `SUSPENSION_STATE_` int DEFAULT NULL,
  `CACHED_ENT_STATE_` int DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  `NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `START_ACT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `START_TIME_` datetime(3) DEFAULT NULL,
  `START_USER_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `LOCK_TIME_` timestamp(3) NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `IS_COUNT_ENABLED_` tinyint DEFAULT NULL,
  `EVT_SUBSCR_COUNT_` int DEFAULT NULL,
  `TASK_COUNT_` int DEFAULT NULL,
  `JOB_COUNT_` int DEFAULT NULL,
  `TIMER_JOB_COUNT_` int DEFAULT NULL,
  `SUSP_JOB_COUNT_` int DEFAULT NULL,
  `DEADLETTER_JOB_COUNT_` int DEFAULT NULL,
  `EXTERNAL_WORKER_JOB_COUNT_` int DEFAULT NULL,
  `VAR_COUNT_` int DEFAULT NULL,
  `ID_LINK_COUNT_` int DEFAULT NULL,
  `CALLBACK_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CALLBACK_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `REFERENCE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `REFERENCE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROPAGATED_STAGE_INST_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `BUSINESS_STATUS_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_EXEC_BUSKEY` (`BUSINESS_KEY_`),
  KEY `ACT_IDC_EXEC_ROOT` (`ROOT_PROC_INST_ID_`),
  KEY `ACT_IDX_EXEC_REF_ID_` (`REFERENCE_ID_`),
  KEY `ACT_FK_EXE_PROCINST` (`PROC_INST_ID_`),
  KEY `ACT_FK_EXE_PARENT` (`PARENT_ID_`),
  KEY `ACT_FK_EXE_SUPER` (`SUPER_EXEC_`),
  KEY `ACT_FK_EXE_PROCDEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_EXE_PARENT` FOREIGN KEY (`PARENT_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`) ON DELETE CASCADE,
  CONSTRAINT `ACT_FK_EXE_PROCDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`),
  CONSTRAINT `ACT_FK_EXE_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `ACT_FK_EXE_SUPER` FOREIGN KEY (`SUPER_EXEC_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_EXECUTION
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_EXTERNAL_JOB
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_EXTERNAL_JOB`;
CREATE TABLE `ACT_RU_EXTERNAL_JOB` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `CATEGORY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TYPE_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `LOCK_EXP_TIME_` timestamp(3) NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROCESS_INSTANCE_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `ELEMENT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `ELEMENT_NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CORRELATION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `RETRIES_` int DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `DUEDATE_` timestamp(3) NULL DEFAULT NULL,
  `REPEAT_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_EXTERNAL_JOB_EXCEPTION_STACK_ID` (`EXCEPTION_STACK_ID_`),
  KEY `ACT_IDX_EXTERNAL_JOB_CUSTOM_VALUES_ID` (`CUSTOM_VALUES_ID_`),
  KEY `ACT_IDX_EXTERNAL_JOB_CORRELATION_ID` (`CORRELATION_ID_`),
  KEY `ACT_IDX_EJOB_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_EJOB_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_EJOB_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  CONSTRAINT `ACT_FK_EXTERNAL_JOB_CUSTOM_VALUES` FOREIGN KEY (`CUSTOM_VALUES_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_EXTERNAL_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_EXTERNAL_JOB
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_HISTORY_JOB
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_HISTORY_JOB`;
CREATE TABLE `ACT_RU_HISTORY_JOB` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `LOCK_EXP_TIME_` timestamp(3) NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `RETRIES_` int DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `ADV_HANDLER_CFG_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_HISTORY_JOB
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_IDENTITYLINK
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_IDENTITYLINK`;
CREATE TABLE `ACT_RU_IDENTITYLINK` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `GROUP_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `USER_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_IDENT_LNK_USER` (`USER_ID_`),
  KEY `ACT_IDX_IDENT_LNK_GROUP` (`GROUP_ID_`),
  KEY `ACT_IDX_IDENT_LNK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_IDENT_LNK_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_IDENT_LNK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_ATHRZ_PROCEDEF` (`PROC_DEF_ID_`),
  KEY `ACT_FK_TSKASS_TASK` (`TASK_ID_`),
  KEY `ACT_FK_IDL_PROCINST` (`PROC_INST_ID_`),
  CONSTRAINT `ACT_FK_ATHRZ_PROCEDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`),
  CONSTRAINT `ACT_FK_IDL_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_TSKASS_TASK` FOREIGN KEY (`TASK_ID_`) REFERENCES `ACT_RU_TASK` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_IDENTITYLINK
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_JOB
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_JOB`;
CREATE TABLE `ACT_RU_JOB` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `CATEGORY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TYPE_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `LOCK_EXP_TIME_` timestamp(3) NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROCESS_INSTANCE_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `ELEMENT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `ELEMENT_NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CORRELATION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `RETRIES_` int DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `DUEDATE_` timestamp(3) NULL DEFAULT NULL,
  `REPEAT_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_JOB_EXCEPTION_STACK_ID` (`EXCEPTION_STACK_ID_`),
  KEY `ACT_IDX_JOB_CUSTOM_VALUES_ID` (`CUSTOM_VALUES_ID_`),
  KEY `ACT_IDX_JOB_CORRELATION_ID` (`CORRELATION_ID_`),
  KEY `ACT_IDX_JOB_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_JOB_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_JOB_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_JOB_EXECUTION` (`EXECUTION_ID_`),
  KEY `ACT_FK_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`),
  KEY `ACT_FK_JOB_PROC_DEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_JOB_CUSTOM_VALUES` FOREIGN KEY (`CUSTOM_VALUES_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_JOB_EXECUTION` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_JOB_PROC_DEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`),
  CONSTRAINT `ACT_FK_JOB_PROCESS_INSTANCE` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_JOB
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_SUSPENDED_JOB
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_SUSPENDED_JOB`;
CREATE TABLE `ACT_RU_SUSPENDED_JOB` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `CATEGORY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TYPE_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROCESS_INSTANCE_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `ELEMENT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `ELEMENT_NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CORRELATION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `RETRIES_` int DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `DUEDATE_` timestamp(3) NULL DEFAULT NULL,
  `REPEAT_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_SUSPENDED_JOB_EXCEPTION_STACK_ID` (`EXCEPTION_STACK_ID_`),
  KEY `ACT_IDX_SUSPENDED_JOB_CUSTOM_VALUES_ID` (`CUSTOM_VALUES_ID_`),
  KEY `ACT_IDX_SUSPENDED_JOB_CORRELATION_ID` (`CORRELATION_ID_`),
  KEY `ACT_IDX_SJOB_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_SJOB_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_SJOB_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_SUSPENDED_JOB_EXECUTION` (`EXECUTION_ID_`),
  KEY `ACT_FK_SUSPENDED_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`),
  KEY `ACT_FK_SUSPENDED_JOB_PROC_DEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_SUSPENDED_JOB_CUSTOM_VALUES` FOREIGN KEY (`CUSTOM_VALUES_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_SUSPENDED_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_SUSPENDED_JOB_EXECUTION` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_SUSPENDED_JOB_PROC_DEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`),
  CONSTRAINT `ACT_FK_SUSPENDED_JOB_PROCESS_INSTANCE` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_SUSPENDED_JOB
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_TASK
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_TASK`;
CREATE TABLE `ACT_RU_TASK` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `TASK_DEF_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROPAGATED_STAGE_INST_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `PARENT_TASK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `DESCRIPTION_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `TASK_DEF_KEY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `OWNER_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `ASSIGNEE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `DELEGATION_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PRIORITY_` int DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `DUE_DATE_` datetime(3) DEFAULT NULL,
  `CATEGORY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUSPENSION_STATE_` int DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  `FORM_KEY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CLAIM_TIME_` datetime(3) DEFAULT NULL,
  `IS_COUNT_ENABLED_` tinyint DEFAULT NULL,
  `VAR_COUNT_` int DEFAULT NULL,
  `ID_LINK_COUNT_` int DEFAULT NULL,
  `SUB_TASK_COUNT_` int DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_TASK_CREATE` (`CREATE_TIME_`),
  KEY `ACT_IDX_TASK_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_TASK_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_TASK_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_TASK_EXE` (`EXECUTION_ID_`),
  KEY `ACT_FK_TASK_PROCINST` (`PROC_INST_ID_`),
  KEY `ACT_FK_TASK_PROCDEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_TASK_EXE` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_TASK_PROCDEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`),
  CONSTRAINT `ACT_FK_TASK_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_TASK
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_TIMER_JOB
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_TIMER_JOB`;
CREATE TABLE `ACT_RU_TIMER_JOB` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `CATEGORY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `TYPE_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `LOCK_EXP_TIME_` timestamp(3) NULL DEFAULT NULL,
  `LOCK_OWNER_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXCLUSIVE_` tinyint(1) DEFAULT NULL,
  `EXECUTION_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROCESS_INSTANCE_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_DEF_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `ELEMENT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `ELEMENT_NAME_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_DEFINITION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CORRELATION_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `RETRIES_` int DEFAULT NULL,
  `EXCEPTION_STACK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `EXCEPTION_MSG_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `DUEDATE_` timestamp(3) NULL DEFAULT NULL,
  `REPEAT_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `HANDLER_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `HANDLER_CFG_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `CUSTOM_VALUES_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `CREATE_TIME_` timestamp(3) NULL DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_TIMER_JOB_EXCEPTION_STACK_ID` (`EXCEPTION_STACK_ID_`),
  KEY `ACT_IDX_TIMER_JOB_CUSTOM_VALUES_ID` (`CUSTOM_VALUES_ID_`),
  KEY `ACT_IDX_TIMER_JOB_CORRELATION_ID` (`CORRELATION_ID_`),
  KEY `ACT_IDX_TIMER_JOB_DUEDATE` (`DUEDATE_`),
  KEY `ACT_IDX_TJOB_SCOPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_TJOB_SUB_SCOPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_TJOB_SCOPE_DEF` (`SCOPE_DEFINITION_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_TIMER_JOB_EXECUTION` (`EXECUTION_ID_`),
  KEY `ACT_FK_TIMER_JOB_PROCESS_INSTANCE` (`PROCESS_INSTANCE_ID_`),
  KEY `ACT_FK_TIMER_JOB_PROC_DEF` (`PROC_DEF_ID_`),
  CONSTRAINT `ACT_FK_TIMER_JOB_CUSTOM_VALUES` FOREIGN KEY (`CUSTOM_VALUES_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_TIMER_JOB_EXCEPTION` FOREIGN KEY (`EXCEPTION_STACK_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_TIMER_JOB_EXECUTION` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_TIMER_JOB_PROC_DEF` FOREIGN KEY (`PROC_DEF_ID_`) REFERENCES `ACT_RE_PROCDEF` (`ID_`),
  CONSTRAINT `ACT_FK_TIMER_JOB_PROCESS_INSTANCE` FOREIGN KEY (`PROCESS_INSTANCE_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_TIMER_JOB
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for ACT_RU_VARIABLE
-- ----------------------------
DROP TABLE IF EXISTS `ACT_RU_VARIABLE`;
CREATE TABLE `ACT_RU_VARIABLE` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `TYPE_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `NAME_` varchar(255) COLLATE utf8mb3_bin NOT NULL,
  `EXECUTION_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `PROC_INST_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `TASK_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `BYTEARRAY_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `DOUBLE_` double DEFAULT NULL,
  `LONG_` bigint DEFAULT NULL,
  `TEXT_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `TEXT2_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  `META_INFO_` varchar(4000) COLLATE utf8mb3_bin DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  KEY `ACT_IDX_RU_VAR_SCOPE_ID_TYPE` (`SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_IDX_RU_VAR_SUB_ID_TYPE` (`SUB_SCOPE_ID_`,`SCOPE_TYPE_`),
  KEY `ACT_FK_VAR_BYTEARRAY` (`BYTEARRAY_ID_`),
  KEY `ACT_IDX_VARIABLE_TASK_ID` (`TASK_ID_`),
  KEY `ACT_FK_VAR_EXE` (`EXECUTION_ID_`),
  KEY `ACT_FK_VAR_PROCINST` (`PROC_INST_ID_`),
  CONSTRAINT `ACT_FK_VAR_BYTEARRAY` FOREIGN KEY (`BYTEARRAY_ID_`) REFERENCES `ACT_GE_BYTEARRAY` (`ID_`),
  CONSTRAINT `ACT_FK_VAR_EXE` FOREIGN KEY (`EXECUTION_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`),
  CONSTRAINT `ACT_FK_VAR_PROCINST` FOREIGN KEY (`PROC_INST_ID_`) REFERENCES `ACT_RU_EXECUTION` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of ACT_RU_VARIABLE
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for FLW_CHANNEL_DEFINITION
-- ----------------------------
DROP TABLE IF EXISTS `FLW_CHANNEL_DEFINITION`;
CREATE TABLE `FLW_CHANNEL_DEFINITION` (
  `ID_` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `NAME_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `VERSION_` int DEFAULT NULL,
  `KEY_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `CATEGORY_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `DEPLOYMENT_ID_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `CREATE_TIME_` datetime(3) DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `RESOURCE_NAME_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `DESCRIPTION_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `TYPE_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `IMPLEMENTATION_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `ACT_IDX_CHANNEL_DEF_UNIQ` (`KEY_`,`VERSION_`,`TENANT_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of FLW_CHANNEL_DEFINITION
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for FLW_EVENT_DEFINITION
-- ----------------------------
DROP TABLE IF EXISTS `FLW_EVENT_DEFINITION`;
CREATE TABLE `FLW_EVENT_DEFINITION` (
  `ID_` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `NAME_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `VERSION_` int DEFAULT NULL,
  `KEY_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `CATEGORY_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `DEPLOYMENT_ID_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `RESOURCE_NAME_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `DESCRIPTION_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  PRIMARY KEY (`ID_`),
  UNIQUE KEY `ACT_IDX_EVENT_DEF_UNIQ` (`KEY_`,`VERSION_`,`TENANT_ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of FLW_EVENT_DEFINITION
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for FLW_EVENT_DEPLOYMENT
-- ----------------------------
DROP TABLE IF EXISTS `FLW_EVENT_DEPLOYMENT`;
CREATE TABLE `FLW_EVENT_DEPLOYMENT` (
  `ID_` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `NAME_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `CATEGORY_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `DEPLOY_TIME_` datetime(3) DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `PARENT_DEPLOYMENT_ID_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of FLW_EVENT_DEPLOYMENT
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for FLW_EVENT_RESOURCE
-- ----------------------------
DROP TABLE IF EXISTS `FLW_EVENT_RESOURCE`;
CREATE TABLE `FLW_EVENT_RESOURCE` (
  `ID_` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `NAME_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `DEPLOYMENT_ID_` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `RESOURCE_BYTES_` longblob,
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of FLW_EVENT_RESOURCE
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for FLW_EV_DATABASECHANGELOG
-- ----------------------------
DROP TABLE IF EXISTS `FLW_EV_DATABASECHANGELOG`;
CREATE TABLE `FLW_EV_DATABASECHANGELOG` (
  `ID` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `AUTHOR` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `FILENAME` varchar(255) COLLATE utf8mb4_general_ci NOT NULL,
  `DATEEXECUTED` datetime NOT NULL,
  `ORDEREXECUTED` int NOT NULL,
  `EXECTYPE` varchar(10) COLLATE utf8mb4_general_ci NOT NULL,
  `MD5SUM` varchar(35) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `DESCRIPTION` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `COMMENTS` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `TAG` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `LIQUIBASE` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `CONTEXTS` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `LABELS` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  `DEPLOYMENT_ID` varchar(10) COLLATE utf8mb4_general_ci DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of FLW_EV_DATABASECHANGELOG
-- ----------------------------
BEGIN;
INSERT INTO `FLW_EV_DATABASECHANGELOG` (`ID`, `AUTHOR`, `FILENAME`, `DATEEXECUTED`, `ORDEREXECUTED`, `EXECTYPE`, `MD5SUM`, `DESCRIPTION`, `COMMENTS`, `TAG`, `LIQUIBASE`, `CONTEXTS`, `LABELS`, `DEPLOYMENT_ID`) VALUES ('1', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', '2024-05-21 23:43:00', 1, 'EXECUTED', '9:63268f536c469325acef35970312551b', 'createTable tableName=FLW_EVENT_DEPLOYMENT; createTable tableName=FLW_EVENT_RESOURCE; createTable tableName=FLW_EVENT_DEFINITION; createIndex indexName=ACT_IDX_EVENT_DEF_UNIQ, tableName=FLW_EVENT_DEFINITION; createTable tableName=FLW_CHANNEL_DEFIN...', '', NULL, '4.24.0', NULL, NULL, '6306180240');
INSERT INTO `FLW_EV_DATABASECHANGELOG` (`ID`, `AUTHOR`, `FILENAME`, `DATEEXECUTED`, `ORDEREXECUTED`, `EXECTYPE`, `MD5SUM`, `DESCRIPTION`, `COMMENTS`, `TAG`, `LIQUIBASE`, `CONTEXTS`, `LABELS`, `DEPLOYMENT_ID`) VALUES ('2', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', '2024-05-21 23:43:00', 2, 'EXECUTED', '9:dcb58b7dfd6dbda66939123a96985536', 'addColumn tableName=FLW_CHANNEL_DEFINITION; addColumn tableName=FLW_CHANNEL_DEFINITION', '', NULL, '4.24.0', NULL, NULL, '6306180240');
INSERT INTO `FLW_EV_DATABASECHANGELOG` (`ID`, `AUTHOR`, `FILENAME`, `DATEEXECUTED`, `ORDEREXECUTED`, `EXECTYPE`, `MD5SUM`, `DESCRIPTION`, `COMMENTS`, `TAG`, `LIQUIBASE`, `CONTEXTS`, `LABELS`, `DEPLOYMENT_ID`) VALUES ('3', 'flowable', 'org/flowable/eventregistry/db/liquibase/flowable-eventregistry-db-changelog.xml', '2024-05-21 23:43:00', 3, 'EXECUTED', '9:d0c05678d57af23ad93699991e3bf4f6', 'customChange', '', NULL, '4.24.0', NULL, NULL, '6306180240');
COMMIT;

-- ----------------------------
-- Table structure for FLW_EV_DATABASECHANGELOGLOCK
-- ----------------------------
DROP TABLE IF EXISTS `FLW_EV_DATABASECHANGELOGLOCK`;
CREATE TABLE `FLW_EV_DATABASECHANGELOGLOCK` (
  `ID` int NOT NULL,
  `LOCKED` tinyint(1) NOT NULL,
  `LOCKGRANTED` datetime DEFAULT NULL,
  `LOCKEDBY` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL,
  PRIMARY KEY (`ID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

-- ----------------------------
-- Records of FLW_EV_DATABASECHANGELOGLOCK
-- ----------------------------
BEGIN;
INSERT INTO `FLW_EV_DATABASECHANGELOGLOCK` (`ID`, `LOCKED`, `LOCKGRANTED`, `LOCKEDBY`) VALUES (1, 0, NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for FLW_RU_BATCH
-- ----------------------------
DROP TABLE IF EXISTS `FLW_RU_BATCH`;
CREATE TABLE `FLW_RU_BATCH` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `TYPE_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `SEARCH_KEY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SEARCH_KEY2_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CREATE_TIME_` datetime(3) NOT NULL,
  `COMPLETE_TIME_` datetime(3) DEFAULT NULL,
  `STATUS_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `BATCH_DOC_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  PRIMARY KEY (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of FLW_RU_BATCH
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for FLW_RU_BATCH_PART
-- ----------------------------
DROP TABLE IF EXISTS `FLW_RU_BATCH_PART`;
CREATE TABLE `FLW_RU_BATCH_PART` (
  `ID_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `REV_` int DEFAULT NULL,
  `BATCH_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `TYPE_` varchar(64) COLLATE utf8mb3_bin NOT NULL,
  `SCOPE_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `SUB_SCOPE_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `SCOPE_TYPE_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `SEARCH_KEY_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `SEARCH_KEY2_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `CREATE_TIME_` datetime(3) NOT NULL,
  `COMPLETE_TIME_` datetime(3) DEFAULT NULL,
  `STATUS_` varchar(255) COLLATE utf8mb3_bin DEFAULT NULL,
  `RESULT_DOC_ID_` varchar(64) COLLATE utf8mb3_bin DEFAULT NULL,
  `TENANT_ID_` varchar(255) COLLATE utf8mb3_bin DEFAULT '',
  PRIMARY KEY (`ID_`),
  KEY `FLW_IDX_BATCH_PART` (`BATCH_ID_`),
  CONSTRAINT `FLW_FK_BATCH_PART_PARENT` FOREIGN KEY (`BATCH_ID_`) REFERENCES `FLW_RU_BATCH` (`ID_`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_bin;

-- ----------------------------
-- Records of FLW_RU_BATCH_PART
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for gen_table
-- ----------------------------
DROP TABLE IF EXISTS `gen_table`;
CREATE TABLE `gen_table` (
  `table_id` bigint NOT NULL COMMENT '编号',
  `data_name` varchar(200) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '数据源名称',
  `table_name` varchar(200) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '表名称',
  `table_comment` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '表描述',
  `sub_table_name` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '关联子表的表名',
  `sub_table_fk_name` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '子表关联的外键名',
  `class_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '实体类名称',
  `tpl_category` varchar(200) COLLATE utf8mb4_general_ci DEFAULT 'crud' COMMENT '使用的模板（crud单表操作 tree树表操作）',
  `package_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成包路径',
  `module_name` varchar(30) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成模块名',
  `business_name` varchar(30) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成业务名',
  `function_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成功能名',
  `function_author` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '生成功能作者',
  `gen_type` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '生成代码方式（0zip压缩包 1自定义路径）',
  `gen_path` varchar(200) COLLATE utf8mb4_general_ci DEFAULT '/' COMMENT '生成路径（不填默认项目路径）',
  `options` varchar(1000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '其它生成选项',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`table_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='代码生成业务表';

-- ----------------------------
-- Records of gen_table
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for gen_table_column
-- ----------------------------
DROP TABLE IF EXISTS `gen_table_column`;
CREATE TABLE `gen_table_column` (
  `column_id` bigint NOT NULL COMMENT '编号',
  `table_id` bigint DEFAULT NULL COMMENT '归属表编号',
  `column_name` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '列名称',
  `column_comment` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '列描述',
  `column_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '列类型',
  `java_type` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'JAVA类型',
  `java_field` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'JAVA字段名',
  `is_pk` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否主键（1是）',
  `is_increment` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否自增（1是）',
  `is_required` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否必填（1是）',
  `is_insert` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否为插入字段（1是）',
  `is_edit` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否编辑字段（1是）',
  `is_list` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否列表字段（1是）',
  `is_query` char(1) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '是否查询字段（1是）',
  `query_type` varchar(200) COLLATE utf8mb4_general_ci DEFAULT 'EQ' COMMENT '查询方式（等于、不等于、大于、小于、范围）',
  `html_type` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '显示类型（文本框、文本域、下拉框、复选框、单选框、日期控件）',
  `dict_type` varchar(200) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典类型',
  `sort` int DEFAULT NULL COMMENT '排序',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`column_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='代码生成业务表字段';

-- ----------------------------
-- Records of gen_table_column
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sj_distributed_lock
-- ----------------------------
DROP TABLE IF EXISTS `sj_distributed_lock`;
CREATE TABLE `sj_distributed_lock` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `name` varchar(64) NOT NULL COMMENT '锁名称',
  `lock_until` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) ON UPDATE CURRENT_TIMESTAMP(3) COMMENT '锁定时长',
  `locked_at` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) COMMENT '锁定时间',
  `locked_by` varchar(255) NOT NULL COMMENT '锁定者',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='锁定表';

-- ----------------------------
-- Records of sj_distributed_lock
-- ----------------------------
BEGIN;
INSERT INTO `sj_distributed_lock` (`id`, `name`, `lock_until`, `locked_at`, `locked_by`, `create_dt`, `update_dt`) VALUES (2, 'clearOfflineNode', '2024-05-22 23:31:36.310', '2024-05-22 23:31:31.310', '1793298466362703872', '2024-05-21 23:57:08', '2024-05-21 23:57:08');
INSERT INTO `sj_distributed_lock` (`id`, `name`, `lock_until`, `locked_at`, `locked_by`, `create_dt`, `update_dt`) VALUES (3, 'jobClearLog', '2024-05-22 23:11:49.019', '2024-05-22 23:10:49.019', '1793298466362703872', '2024-05-21 23:57:08', '2024-05-21 23:57:08');
INSERT INTO `sj_distributed_lock` (`id`, `name`, `lock_until`, `locked_at`, `locked_by`, `create_dt`, `update_dt`) VALUES (4, 'jobSummaryDashboard', '2024-05-22 23:31:09.019', '2024-05-22 23:30:49.019', '1793298466362703872', '2024-05-21 23:57:08', '2024-05-21 23:57:08');
INSERT INTO `sj_distributed_lock` (`id`, `name`, `lock_until`, `locked_at`, `locked_by`, `create_dt`, `update_dt`) VALUES (5, 'jobLogMerge', '2024-05-22 23:11:49.019', '2024-05-22 23:10:49.019', '1793298466362703872', '2024-05-21 23:57:08', '2024-05-21 23:57:08');
INSERT INTO `sj_distributed_lock` (`id`, `name`, `lock_until`, `locked_at`, `locked_by`, `create_dt`, `update_dt`) VALUES (6, 'workflowJobSummarySchedule', '2024-05-22 23:31:09.019', '2024-05-22 23:30:49.019', '1793298466362703872', '2024-05-21 23:57:08', '2024-05-21 23:57:08');
INSERT INTO `sj_distributed_lock` (`id`, `name`, `lock_until`, `locked_at`, `locked_by`, `create_dt`, `update_dt`) VALUES (7, 'retryTaskMoreThreshold', '2024-05-22 23:31:49.284', '2024-05-22 23:30:49.284', '1793298466362703872', '2024-05-21 23:57:08', '2024-05-21 23:57:08');
INSERT INTO `sj_distributed_lock` (`id`, `name`, `lock_until`, `locked_at`, `locked_by`, `create_dt`, `update_dt`) VALUES (8, 'retryErrorMoreThreshold', '2024-05-22 23:31:49.290', '2024-05-22 23:30:49.290', '1793298466362703872', '2024-05-21 23:57:08', '2024-05-21 23:57:08');
INSERT INTO `sj_distributed_lock` (`id`, `name`, `lock_until`, `locked_at`, `locked_by`, `create_dt`, `update_dt`) VALUES (9, 'retryLogMerge', '2024-05-22 23:11:49.217', '2024-05-22 23:10:49.217', '1793298466362703872', '2024-05-21 23:57:08', '2024-05-21 23:57:08');
INSERT INTO `sj_distributed_lock` (`id`, `name`, `lock_until`, `locked_at`, `locked_by`, `create_dt`, `update_dt`) VALUES (10, 'clearFinishAndMoveDeadLetterRetryTask', '2024-05-22 23:11:49.262', '2024-05-22 23:10:49.262', '1793298466362703872', '2024-05-21 23:57:08', '2024-05-21 23:57:08');
INSERT INTO `sj_distributed_lock` (`id`, `name`, `lock_until`, `locked_at`, `locked_by`, `create_dt`, `update_dt`) VALUES (11, 'retrySummaryDashboard', '2024-05-22 23:31:09.028', '2024-05-22 23:30:49.028', '1793298466362703872', '2024-05-21 23:57:08', '2024-05-21 23:57:08');
INSERT INTO `sj_distributed_lock` (`id`, `name`, `lock_until`, `locked_at`, `locked_by`, `create_dt`, `update_dt`) VALUES (12, 'clearLog', '2024-05-22 23:11:49.269', '2024-05-22 23:10:49.269', '1793298466362703872', '2024-05-21 23:57:08', '2024-05-21 23:57:08');
COMMIT;

-- ----------------------------
-- Table structure for sj_group_config
-- ----------------------------
DROP TABLE IF EXISTS `sj_group_config`;
CREATE TABLE `sj_group_config` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `group_name` varchar(64) NOT NULL DEFAULT '' COMMENT '组名称',
  `description` varchar(256) NOT NULL DEFAULT '' COMMENT '组描述',
  `token` varchar(64) NOT NULL DEFAULT 'SJ_cKqBTPzCsWA3VyuCfFoccmuIEGXjr5KT' COMMENT 'token',
  `group_status` tinyint NOT NULL DEFAULT '0' COMMENT '组状态 0、未启用 1、启用',
  `version` int NOT NULL COMMENT '版本号',
  `group_partition` int NOT NULL COMMENT '分区',
  `id_generator_mode` tinyint NOT NULL DEFAULT '1' COMMENT '唯一id生成模式 默认号段模式',
  `init_scene` tinyint NOT NULL DEFAULT '0' COMMENT '是否初始化场景 0:否 1:是',
  `bucket_index` int NOT NULL DEFAULT '0' COMMENT 'bucket',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_namespace_id_group_name` (`namespace_id`,`group_name`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='组配置';

-- ----------------------------
-- Records of sj_group_config
-- ----------------------------
BEGIN;
INSERT INTO `sj_group_config` (`id`, `namespace_id`, `group_name`, `description`, `token`, `group_status`, `version`, `group_partition`, `id_generator_mode`, `init_scene`, `bucket_index`, `create_dt`, `update_dt`) VALUES (1, 'dev', 'my_group', '', 'SJ_cKqBTPzCsWA3VyuCfFoccmuIEGXjr5KT', 1, 1, 0, 1, 1, 4, '2024-05-21 23:56:45', '2024-05-21 23:56:45');
COMMIT;

-- ----------------------------
-- Table structure for sj_job
-- ----------------------------
DROP TABLE IF EXISTS `sj_job`;
CREATE TABLE `sj_job` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `group_name` varchar(64) NOT NULL COMMENT '组名称',
  `job_name` varchar(64) NOT NULL COMMENT '名称',
  `args_str` text COMMENT '执行方法参数',
  `args_type` tinyint NOT NULL DEFAULT '1' COMMENT '参数类型 ',
  `next_trigger_at` bigint NOT NULL COMMENT '下次触发时间',
  `job_status` tinyint NOT NULL DEFAULT '1' COMMENT '任务状态 0、关闭、1、开启',
  `task_type` tinyint NOT NULL DEFAULT '1' COMMENT '任务类型 1、集群 2、广播 3、切片',
  `route_key` tinyint NOT NULL DEFAULT '4' COMMENT '路由策略',
  `executor_type` tinyint NOT NULL DEFAULT '1' COMMENT '执行器类型',
  `executor_info` varchar(255) DEFAULT NULL COMMENT '执行器名称',
  `trigger_type` tinyint NOT NULL COMMENT '触发类型 1.CRON 表达式 2. 固定时间',
  `trigger_interval` varchar(255) NOT NULL COMMENT '间隔时长',
  `block_strategy` tinyint NOT NULL DEFAULT '1' COMMENT '阻塞策略 1、丢弃 2、覆盖 3、并行',
  `executor_timeout` int NOT NULL DEFAULT '0' COMMENT '任务执行超时时间，单位秒',
  `max_retry_times` int NOT NULL DEFAULT '0' COMMENT '最大重试次数',
  `parallel_num` int NOT NULL DEFAULT '1' COMMENT '并行数',
  `retry_interval` int NOT NULL DEFAULT '0' COMMENT '重试间隔(s)',
  `bucket_index` int NOT NULL DEFAULT '0' COMMENT 'bucket',
  `resident` tinyint NOT NULL DEFAULT '0' COMMENT '是否是常驻任务',
  `description` varchar(256) NOT NULL DEFAULT '' COMMENT '描述',
  `ext_attrs` varchar(256) DEFAULT '' COMMENT '扩展字段',
  `deleted` tinyint NOT NULL DEFAULT '0' COMMENT '逻辑删除 1、删除',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  KEY `idx_namespace_id_group_name` (`namespace_id`,`group_name`),
  KEY `idx_job_status_bucket_index` (`job_status`,`bucket_index`),
  KEY `idx_create_dt` (`create_dt`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='任务信息';

-- ----------------------------
-- Records of sj_job
-- ----------------------------
BEGIN;
INSERT INTO `sj_job` (`id`, `namespace_id`, `group_name`, `job_name`, `args_str`, `args_type`, `next_trigger_at`, `job_status`, `task_type`, `route_key`, `executor_type`, `executor_info`, `trigger_type`, `trigger_interval`, `block_strategy`, `executor_timeout`, `max_retry_times`, `parallel_num`, `retry_interval`, `bucket_index`, `resident`, `description`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (1, 'dev', 'my_group', 'demo-job', NULL, 1, 1716391938718, 1, 1, 4, 1, 'testJobExecutor', 2, '60', 1, 60, 3, 1, 1, 116, 0, '', '', 0, '2024-05-21 23:56:46', '2024-05-22 23:31:18');
COMMIT;

-- ----------------------------
-- Table structure for sj_job_log_message
-- ----------------------------
DROP TABLE IF EXISTS `sj_job_log_message`;
CREATE TABLE `sj_job_log_message` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `group_name` varchar(64) NOT NULL COMMENT '组名称',
  `job_id` bigint NOT NULL COMMENT '任务信息id',
  `task_batch_id` bigint NOT NULL COMMENT '任务批次id',
  `task_id` bigint NOT NULL COMMENT '调度任务id',
  `message` longtext NOT NULL COMMENT '调度信息',
  `log_num` int NOT NULL DEFAULT '1' COMMENT '日志数量',
  `real_time` bigint NOT NULL DEFAULT '0' COMMENT '上报时间',
  `ext_attrs` varchar(256) DEFAULT '' COMMENT '扩展字段',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`),
  KEY `idx_task_batch_id_task_id` (`task_batch_id`,`task_id`),
  KEY `idx_create_dt` (`create_dt`),
  KEY `idx_namespace_id_group_name` (`namespace_id`,`group_name`)
) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='调度日志';

-- ----------------------------
-- Records of sj_job_log_message
-- ----------------------------
BEGIN;
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (1, 'dev', 'my_group', 1, 1, 1, '[{\"time_stamp\":\"1716307057933\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-1\",\"message\":\"批次:[1] 任务调度成功. \"},{\"time_stamp\":\"1716307057953\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-1-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":1}\"},{\"time_stamp\":\"1716307057960\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-1-1\",\"message\":\"任务执行成功 taskBatchId:[1] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307057933, '', '2024-05-21 23:57:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (2, 'dev', 'my_group', 1, 2, 2, '[{\"time_stamp\":\"1716307117854\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-2\",\"message\":\"批次:[2] 任务调度成功. \"},{\"time_stamp\":\"1716307117855\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-2-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":2}\"},{\"time_stamp\":\"1716307117856\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-2-1\",\"message\":\"任务执行成功 taskBatchId:[2] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307117854, '', '2024-05-21 23:58:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (3, 'dev', 'my_group', 1, 3, 3, '[{\"time_stamp\":\"1716307177846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-3\",\"message\":\"批次:[3] 任务调度成功. \"},{\"time_stamp\":\"1716307177848\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-3-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":3}\"},{\"time_stamp\":\"1716307177848\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-3-1\",\"message\":\"任务执行成功 taskBatchId:[3] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307177846, '', '2024-05-21 23:59:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (4, 'dev', 'my_group', 1, 4, 4, '[{\"time_stamp\":\"1716307237848\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-4\",\"message\":\"批次:[4] 任务调度成功. \"},{\"time_stamp\":\"1716307237851\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-4-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":4}\"},{\"time_stamp\":\"1716307237851\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-4-1\",\"message\":\"任务执行成功 taskBatchId:[4] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307237848, '', '2024-05-22 00:00:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (5, 'dev', 'my_group', 1, 5, 5, '[{\"time_stamp\":\"1716307297847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-5\",\"message\":\"批次:[5] 任务调度成功. \"},{\"time_stamp\":\"1716307297848\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-5-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":5}\"},{\"time_stamp\":\"1716307297848\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-5-1\",\"message\":\"任务执行成功 taskBatchId:[5] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307297847, '', '2024-05-22 00:01:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (6, 'dev', 'my_group', 1, 6, 6, '[{\"time_stamp\":\"1716307357846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-6\",\"message\":\"批次:[6] 任务调度成功. \"},{\"time_stamp\":\"1716307357847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-6-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":6}\"},{\"time_stamp\":\"1716307357847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-6-1\",\"message\":\"任务执行成功 taskBatchId:[6] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307357846, '', '2024-05-22 00:02:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (7, 'dev', 'my_group', 1, 7, 7, '[{\"time_stamp\":\"1716307417846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-7\",\"message\":\"批次:[7] 任务调度成功. \"},{\"time_stamp\":\"1716307417847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-7-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":7}\"},{\"time_stamp\":\"1716307417847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-7-1\",\"message\":\"任务执行成功 taskBatchId:[7] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307417846, '', '2024-05-22 00:03:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (8, 'dev', 'my_group', 1, 8, 8, '[{\"time_stamp\":\"1716307477848\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-8\",\"message\":\"批次:[8] 任务调度成功. \"},{\"time_stamp\":\"1716307477849\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-8-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":8}\"},{\"time_stamp\":\"1716307477849\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-8-1\",\"message\":\"任务执行成功 taskBatchId:[8] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307477848, '', '2024-05-22 00:04:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (9, 'dev', 'my_group', 1, 9, 9, '[{\"time_stamp\":\"1716307537845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-9\",\"message\":\"批次:[9] 任务调度成功. \"},{\"time_stamp\":\"1716307537846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-9-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":9}\"},{\"time_stamp\":\"1716307537847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-9-1\",\"message\":\"任务执行成功 taskBatchId:[9] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307537845, '', '2024-05-22 00:05:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (10, 'dev', 'my_group', 1, 10, 10, '[{\"time_stamp\":\"1716307597849\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-10\",\"message\":\"批次:[10] 任务调度成功. \"},{\"time_stamp\":\"1716307597851\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-10-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":10}\"},{\"time_stamp\":\"1716307597852\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-10-1\",\"message\":\"任务执行成功 taskBatchId:[10] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307597849, '', '2024-05-22 00:06:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (11, 'dev', 'my_group', 1, 11, 11, '[{\"time_stamp\":\"1716307657846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-11\",\"message\":\"批次:[11] 任务调度成功. \"},{\"time_stamp\":\"1716307657847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-11-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":11}\"},{\"time_stamp\":\"1716307657848\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-11-1\",\"message\":\"任务执行成功 taskBatchId:[11] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307657846, '', '2024-05-22 00:07:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (12, 'dev', 'my_group', 1, 12, 12, '[{\"time_stamp\":\"1716307717846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-12\",\"message\":\"批次:[12] 任务调度成功. \"},{\"time_stamp\":\"1716307717847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-12-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":12}\"},{\"time_stamp\":\"1716307717848\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-12-1\",\"message\":\"任务执行成功 taskBatchId:[12] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307717846, '', '2024-05-22 00:08:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (13, 'dev', 'my_group', 1, 13, 13, '[{\"time_stamp\":\"1716307777845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-13\",\"message\":\"批次:[13] 任务调度成功. \"},{\"time_stamp\":\"1716307777846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-13-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":13}\"},{\"time_stamp\":\"1716307777846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-13-1\",\"message\":\"任务执行成功 taskBatchId:[13] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307777845, '', '2024-05-22 00:09:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (14, 'dev', 'my_group', 1, 14, 14, '[{\"time_stamp\":\"1716307837846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-14\",\"message\":\"批次:[14] 任务调度成功. \"},{\"time_stamp\":\"1716307837847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-14-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":14}\"},{\"time_stamp\":\"1716307837848\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-14-1\",\"message\":\"任务执行成功 taskBatchId:[14] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307837846, '', '2024-05-22 00:10:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (15, 'dev', 'my_group', 1, 15, 15, '[{\"time_stamp\":\"1716307897844\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-15\",\"message\":\"批次:[15] 任务调度成功. \"},{\"time_stamp\":\"1716307897845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-15-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":15}\"},{\"time_stamp\":\"1716307897846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-15-1\",\"message\":\"任务执行成功 taskBatchId:[15] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307897844, '', '2024-05-22 00:11:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (16, 'dev', 'my_group', 1, 16, 16, '[{\"time_stamp\":\"1716307957845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-16\",\"message\":\"批次:[16] 任务调度成功. \"},{\"time_stamp\":\"1716307957847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-16-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":16}\"},{\"time_stamp\":\"1716307957847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-16-1\",\"message\":\"任务执行成功 taskBatchId:[16] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716307957845, '', '2024-05-22 00:12:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (17, 'dev', 'my_group', 1, 17, 17, '[{\"time_stamp\":\"1716308017844\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-1\",\"message\":\"批次:[17] 任务调度成功. \"},{\"time_stamp\":\"1716308017845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-17-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":17}\"},{\"time_stamp\":\"1716308017845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-17-1\",\"message\":\"任务执行成功 taskBatchId:[17] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716308017844, '', '2024-05-22 00:13:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (18, 'dev', 'my_group', 1, 18, 18, '[{\"time_stamp\":\"1716308077846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-2\",\"message\":\"批次:[18] 任务调度成功. \"},{\"time_stamp\":\"1716308077847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-18-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":18}\"},{\"time_stamp\":\"1716308077847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-18-1\",\"message\":\"任务执行成功 taskBatchId:[18] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716308077846, '', '2024-05-22 00:14:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (19, 'dev', 'my_group', 1, 19, 19, '[{\"time_stamp\":\"1716308137846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-3\",\"message\":\"批次:[19] 任务调度成功. \"},{\"time_stamp\":\"1716308137847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-19-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":19}\"},{\"time_stamp\":\"1716308137848\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-19-1\",\"message\":\"任务执行成功 taskBatchId:[19] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716308137846, '', '2024-05-22 00:15:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (20, 'dev', 'my_group', 1, 20, 20, '[{\"time_stamp\":\"1716308197844\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-4\",\"message\":\"批次:[20] 任务调度成功. \"},{\"time_stamp\":\"1716308197845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-20-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":20}\"},{\"time_stamp\":\"1716308197845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-20-1\",\"message\":\"任务执行成功 taskBatchId:[20] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716308197844, '', '2024-05-22 00:16:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (21, 'dev', 'my_group', 1, 21, 21, '[{\"time_stamp\":\"1716308257845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-5\",\"message\":\"批次:[21] 任务调度成功. \"},{\"time_stamp\":\"1716308257846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-21-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":21}\"},{\"time_stamp\":\"1716308257847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-21-1\",\"message\":\"任务执行成功 taskBatchId:[21] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716308257845, '', '2024-05-22 00:17:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (22, 'dev', 'my_group', 1, 22, 22, '[{\"time_stamp\":\"1716308317845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-6\",\"message\":\"批次:[22] 任务调度成功. \"},{\"time_stamp\":\"1716308317846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-22-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":22}\"},{\"time_stamp\":\"1716308317846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-22-1\",\"message\":\"任务执行成功 taskBatchId:[22] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716308317845, '', '2024-05-22 00:18:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (23, 'dev', 'my_group', 1, 23, 23, '[{\"time_stamp\":\"1716308377845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-7\",\"message\":\"批次:[23] 任务调度成功. \"},{\"time_stamp\":\"1716308377846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-23-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":23}\"},{\"time_stamp\":\"1716308377846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-23-1\",\"message\":\"任务执行成功 taskBatchId:[23] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716308377845, '', '2024-05-22 00:19:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (24, 'dev', 'my_group', 1, 24, 24, '[{\"time_stamp\":\"1716308437844\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-8\",\"message\":\"批次:[24] 任务调度成功. \"},{\"time_stamp\":\"1716308437845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-24-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":24}\"},{\"time_stamp\":\"1716308437845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-24-1\",\"message\":\"任务执行成功 taskBatchId:[24] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716308437844, '', '2024-05-22 00:20:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (25, 'dev', 'my_group', 1, 25, 25, '[{\"time_stamp\":\"1716308497845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-9\",\"message\":\"批次:[25] 任务调度成功. \"},{\"time_stamp\":\"1716308497846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-25-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":25}\"},{\"time_stamp\":\"1716308497847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-25-1\",\"message\":\"任务执行成功 taskBatchId:[25] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716308497845, '', '2024-05-22 00:21:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (26, 'dev', 'my_group', 1, 26, 26, '[{\"time_stamp\":\"1716308557845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-10\",\"message\":\"批次:[26] 任务调度成功. \"},{\"time_stamp\":\"1716308557846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-26-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":26}\"},{\"time_stamp\":\"1716308557847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-26-1\",\"message\":\"任务执行成功 taskBatchId:[26] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716308557845, '', '2024-05-22 00:22:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (27, 'dev', 'my_group', 1, 27, 27, '[{\"time_stamp\":\"1716308617845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-11\",\"message\":\"批次:[27] 任务调度成功. \"},{\"time_stamp\":\"1716308617846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-27-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":27}\"},{\"time_stamp\":\"1716308617846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-27-1\",\"message\":\"任务执行成功 taskBatchId:[27] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716308617845, '', '2024-05-22 00:23:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (28, 'dev', 'my_group', 1, 28, 28, '[{\"time_stamp\":\"1716308677845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-12\",\"message\":\"批次:[28] 任务调度成功. \"},{\"time_stamp\":\"1716308677846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-28-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":28}\"},{\"time_stamp\":\"1716308677846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-28-1\",\"message\":\"任务执行成功 taskBatchId:[28] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716308677845, '', '2024-05-22 00:24:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (29, 'dev', 'my_group', 1, 29, 29, '[{\"time_stamp\":\"1716308737845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-13\",\"message\":\"批次:[29] 任务调度成功. \"},{\"time_stamp\":\"1716308737846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-29-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":29}\"},{\"time_stamp\":\"1716308737846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-29-1\",\"message\":\"任务执行成功 taskBatchId:[29] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716308737845, '', '2024-05-22 00:25:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (30, 'dev', 'my_group', 1, 30, 30, '[{\"time_stamp\":\"1716308797845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-14\",\"message\":\"批次:[30] 任务调度成功. \"},{\"time_stamp\":\"1716308797846\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-30-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":30}\"},{\"time_stamp\":\"1716308797847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-30-1\",\"message\":\"任务执行成功 taskBatchId:[30] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716308797845, '', '2024-05-22 00:26:49');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (31, 'dev', 'my_group', 1, 32, 31, '[{\"time_stamp\":\"1716390739025\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-1\",\"message\":\"批次:[32] 任务调度成功. \"},{\"time_stamp\":\"1716390739047\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-32-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":32}\"},{\"time_stamp\":\"1716390739054\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-32-1\",\"message\":\"任务执行成功 taskBatchId:[32] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716390739025, '', '2024-05-22 23:12:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (32, 'dev', 'my_group', 1, 33, 32, '[{\"time_stamp\":\"1716390798744\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-2\",\"message\":\"批次:[33] 任务调度成功. \"},{\"time_stamp\":\"1716390798745\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-33-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":33}\"},{\"time_stamp\":\"1716390798746\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-33-1\",\"message\":\"任务执行成功 taskBatchId:[33] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716390798744, '', '2024-05-22 23:13:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (33, 'dev', 'my_group', 1, 34, 33, '[{\"time_stamp\":\"1716390858843\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-3\",\"message\":\"批次:[34] 任务调度成功. \"},{\"time_stamp\":\"1716390858845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-34-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":34}\"},{\"time_stamp\":\"1716390858845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-34-1\",\"message\":\"任务执行成功 taskBatchId:[34] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716390858843, '', '2024-05-22 23:14:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (34, 'dev', 'my_group', 1, 35, 34, '[{\"time_stamp\":\"1716390918843\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-4\",\"message\":\"批次:[35] 任务调度成功. \"},{\"time_stamp\":\"1716390918844\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-35-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":35}\"},{\"time_stamp\":\"1716390918845\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-35-1\",\"message\":\"任务执行成功 taskBatchId:[35] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716390918843, '', '2024-05-22 23:15:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (35, 'dev', 'my_group', 1, 36, 35, '[{\"time_stamp\":\"1716390978878\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-5\",\"message\":\"批次:[36] 任务调度成功. \"},{\"time_stamp\":\"1716390978880\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-36-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":36}\"},{\"time_stamp\":\"1716390978881\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-36-1\",\"message\":\"任务执行成功 taskBatchId:[36] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716390978878, '', '2024-05-22 23:16:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (36, 'dev', 'my_group', 1, 38, 37, '[{\"time_stamp\":\"1716391098851\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-1\",\"message\":\"批次:[38] 任务调度成功. \"},{\"time_stamp\":\"1716391098874\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-38-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":38}\"},{\"time_stamp\":\"1716391098882\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-38-1\",\"message\":\"任务执行成功 taskBatchId:[38] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716391098851, '', '2024-05-22 23:18:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (37, 'dev', 'my_group', 1, 39, 38, '[{\"time_stamp\":\"1716391158745\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-2\",\"message\":\"批次:[39] 任务调度成功. \"},{\"time_stamp\":\"1716391158746\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-39-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":39}\"},{\"time_stamp\":\"1716391158747\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-39-1\",\"message\":\"任务执行成功 taskBatchId:[39] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716391158745, '', '2024-05-22 23:19:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (38, 'dev', 'my_group', 1, 40, 39, '[{\"time_stamp\":\"1716391218848\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-3\",\"message\":\"批次:[40] 任务调度成功. \"},{\"time_stamp\":\"1716391218850\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-40-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":40}\"},{\"time_stamp\":\"1716391218850\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-40-1\",\"message\":\"任务执行成功 taskBatchId:[40] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716391218848, '', '2024-05-22 23:20:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (39, 'dev', 'my_group', 1, 41, 40, '[{\"time_stamp\":\"1716391278754\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-4\",\"message\":\"批次:[41] 任务调度成功. \"},{\"time_stamp\":\"1716391278756\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-41-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":41}\"},{\"time_stamp\":\"1716391278756\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-41-1\",\"message\":\"任务执行成功 taskBatchId:[41] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716391278754, '', '2024-05-22 23:21:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (40, 'dev', 'my_group', 1, 42, 41, '[{\"time_stamp\":\"1716391338749\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-5\",\"message\":\"批次:[42] 任务调度成功. \"},{\"time_stamp\":\"1716391338750\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-42-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":42}\"},{\"time_stamp\":\"1716391338751\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-42-1\",\"message\":\"任务执行成功 taskBatchId:[42] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716391338749, '', '2024-05-22 23:22:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (41, 'dev', 'my_group', 1, 43, 42, '[{\"time_stamp\":\"1716391398847\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-6\",\"message\":\"批次:[43] 任务调度成功. \"},{\"time_stamp\":\"1716391398849\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-43-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":43}\"},{\"time_stamp\":\"1716391398849\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-43-1\",\"message\":\"任务执行成功 taskBatchId:[43] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716391398847, '', '2024-05-22 23:23:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (42, 'dev', 'my_group', 1, 44, 43, '[{\"time_stamp\":\"1716391458741\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-7\",\"message\":\"批次:[44] 任务调度成功. \"},{\"time_stamp\":\"1716391458742\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-44-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":44}\"},{\"time_stamp\":\"1716391458743\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-44-1\",\"message\":\"任务执行成功 taskBatchId:[44] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716391458741, '', '2024-05-22 23:24:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (43, 'dev', 'my_group', 1, 45, 44, '[{\"time_stamp\":\"1716391518739\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-8\",\"message\":\"批次:[45] 任务调度成功. \"},{\"time_stamp\":\"1716391518741\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-45-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":45}\"},{\"time_stamp\":\"1716391518742\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-45-1\",\"message\":\"任务执行成功 taskBatchId:[45] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716391518739, '', '2024-05-22 23:25:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (44, 'dev', 'my_group', 1, 46, 45, '[{\"time_stamp\":\"1716391578760\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-9\",\"message\":\"批次:[46] 任务调度成功. \"},{\"time_stamp\":\"1716391578768\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-46-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":46}\"},{\"time_stamp\":\"1716391578769\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-46-1\",\"message\":\"任务执行成功 taskBatchId:[46] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716391578760, '', '2024-05-22 23:26:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (45, 'dev', 'my_group', 1, 47, 46, '[{\"time_stamp\":\"1716391638739\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-10\",\"message\":\"批次:[47] 任务调度成功. \"},{\"time_stamp\":\"1716391638741\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-47-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":47}\"},{\"time_stamp\":\"1716391638741\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-47-1\",\"message\":\"任务执行成功 taskBatchId:[47] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716391638739, '', '2024-05-22 23:27:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (46, 'dev', 'my_group', 1, 48, 47, '[{\"time_stamp\":\"1716391698739\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-11\",\"message\":\"批次:[48] 任务调度成功. \"},{\"time_stamp\":\"1716391698740\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-48-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":48}\"},{\"time_stamp\":\"1716391698741\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-48-1\",\"message\":\"任务执行成功 taskBatchId:[48] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716391698739, '', '2024-05-22 23:28:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (47, 'dev', 'my_group', 1, 49, 48, '[{\"time_stamp\":\"1716391758738\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-12\",\"message\":\"批次:[49] 任务调度成功. \"},{\"time_stamp\":\"1716391758739\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-49-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":49}\"},{\"time_stamp\":\"1716391758740\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-49-1\",\"message\":\"任务执行成功 taskBatchId:[49] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716391758738, '', '2024-05-22 23:29:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (48, 'dev', 'my_group', 1, 50, 49, '[{\"time_stamp\":\"1716391818738\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-13\",\"message\":\"批次:[50] 任务调度成功. \"},{\"time_stamp\":\"1716391818739\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-50-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":50}\"},{\"time_stamp\":\"1716391818740\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-50-1\",\"message\":\"任务执行成功 taskBatchId:[50] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716391818738, '', '2024-05-22 23:30:29');
INSERT INTO `sj_job_log_message` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `task_id`, `message`, `log_num`, `real_time`, `ext_attrs`, `create_dt`) VALUES (49, 'dev', 'my_group', 1, 51, 50, '[{\"time_stamp\":\"1716391878738\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.client.JobEndPoint.dispatchJob(JobEndPoint.java:76)\",\"thread\":\"snail-netty-server-14\",\"message\":\"批次:[51] 任务调度成功. \"},{\"time_stamp\":\"1716391878739\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"snailjob.org.my.job.TestAnnoJobExecutor.jobExecute(TestAnnoJobExecutor.java:20)\",\"thread\":\"snail-job-job-51-1\",\"message\":\"testJobExecutor. jobArgs:{\\\"executorInfo\\\":\\\"testJobExecutor\\\",\\\"taskBatchId\\\":51}\"},{\"time_stamp\":\"1716391878739\",\"level\":\"INFO\",\"port\":\"1789\",\"host\":\"127.0.1.1\",\"location\":\"com.aizuda.snailjob.client.job.core.executor.JobExecutorFutureCallback.onSuccess(JobExecutorFutureCallback.java:80)\",\"thread\":\"snail-job-job-51-1\",\"message\":\"任务执行成功 taskBatchId:[51] [{\\\"status\\\":1,\\\"result\\\":\\\"测试成功\\\",\\\"message\\\":\\\"任务执行成功\\\"}]\"}]', 3, 1716391878738, '', '2024-05-22 23:31:29');
COMMIT;

-- ----------------------------
-- Table structure for sj_job_summary
-- ----------------------------
DROP TABLE IF EXISTS `sj_job_summary`;
CREATE TABLE `sj_job_summary` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `group_name` varchar(64) NOT NULL DEFAULT '' COMMENT '组名称',
  `business_id` bigint NOT NULL COMMENT '业务id (job_id或workflow_id)',
  `system_task_type` tinyint NOT NULL DEFAULT '3' COMMENT '任务类型 3、JOB任务 4、WORKFLOW任务',
  `trigger_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '统计时间',
  `success_num` int NOT NULL DEFAULT '0' COMMENT '执行成功-日志数量',
  `fail_num` int NOT NULL DEFAULT '0' COMMENT '执行失败-日志数量',
  `fail_reason` varchar(512) NOT NULL DEFAULT '' COMMENT '失败原因',
  `stop_num` int NOT NULL DEFAULT '0' COMMENT '执行失败-日志数量',
  `stop_reason` varchar(512) NOT NULL DEFAULT '' COMMENT '失败原因',
  `cancel_num` int NOT NULL DEFAULT '0' COMMENT '执行失败-日志数量',
  `cancel_reason` varchar(512) NOT NULL DEFAULT '' COMMENT '失败原因',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_trigger_at_system_task_type_business_id` (`trigger_at`,`system_task_type`,`business_id`) USING BTREE,
  KEY `idx_namespace_id_group_name_business_id` (`namespace_id`,`group_name`,`business_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='DashBoard_Job';

-- ----------------------------
-- Records of sj_job_summary
-- ----------------------------
BEGIN;
INSERT INTO `sj_job_summary` (`id`, `namespace_id`, `group_name`, `business_id`, `system_task_type`, `trigger_at`, `success_num`, `fail_num`, `fail_reason`, `stop_num`, `stop_reason`, `cancel_num`, `cancel_reason`, `create_dt`, `update_dt`) VALUES (1, 'dev', 'my_group', 1, 3, '2024-05-21 00:00:00', 3, 0, '[]', 0, '[]', 0, '[]', '2024-05-21 23:58:08', '2024-05-22 00:00:08');
INSERT INTO `sj_job_summary` (`id`, `namespace_id`, `group_name`, `business_id`, `system_task_type`, `trigger_at`, `success_num`, `fail_num`, `fail_reason`, `stop_num`, `stop_reason`, `cancel_num`, `cancel_reason`, `create_dt`, `update_dt`) VALUES (2, 'dev', 'my_group', 1, 3, '2024-05-22 00:00:00', 46, 0, '[]', 0, '[]', 1, '[{\"reason\":2,\"total\":1}]', '2024-05-22 00:01:08', '2024-05-22 23:30:49');
COMMIT;

-- ----------------------------
-- Table structure for sj_job_task
-- ----------------------------
DROP TABLE IF EXISTS `sj_job_task`;
CREATE TABLE `sj_job_task` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `group_name` varchar(64) NOT NULL COMMENT '组名称',
  `job_id` bigint NOT NULL COMMENT '任务信息id',
  `task_batch_id` bigint NOT NULL COMMENT '调度任务id',
  `parent_id` bigint NOT NULL DEFAULT '0' COMMENT '父执行器id',
  `task_status` tinyint NOT NULL DEFAULT '0' COMMENT '执行的状态 0、失败 1、成功',
  `retry_count` int NOT NULL DEFAULT '0' COMMENT '重试次数',
  `client_info` varchar(128) DEFAULT NULL COMMENT '客户端地址 clientId#ip:port',
  `result_message` text NOT NULL COMMENT '执行结果',
  `args_str` text COMMENT '执行方法参数',
  `args_type` tinyint NOT NULL DEFAULT '1' COMMENT '参数类型 ',
  `ext_attrs` varchar(256) DEFAULT '' COMMENT '扩展字段',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  KEY `idx_task_batch_id_task_status` (`task_batch_id`,`task_status`),
  KEY `idx_create_dt` (`create_dt`),
  KEY `idx_namespace_id_group_name` (`namespace_id`,`group_name`)
) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='任务实例';

-- ----------------------------
-- Records of sj_job_task
-- ----------------------------
BEGIN;
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (1, 'dev', 'my_group', 1, 1, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-21 23:57:37', '2024-05-21 23:57:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (2, 'dev', 'my_group', 1, 2, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-21 23:58:37', '2024-05-21 23:58:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (3, 'dev', 'my_group', 1, 3, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-21 23:59:37', '2024-05-21 23:59:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (4, 'dev', 'my_group', 1, 4, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:00:37', '2024-05-22 00:00:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (5, 'dev', 'my_group', 1, 5, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:01:37', '2024-05-22 00:01:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (6, 'dev', 'my_group', 1, 6, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:02:37', '2024-05-22 00:02:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (7, 'dev', 'my_group', 1, 7, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:03:37', '2024-05-22 00:03:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (8, 'dev', 'my_group', 1, 8, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:04:37', '2024-05-22 00:04:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (9, 'dev', 'my_group', 1, 9, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:05:37', '2024-05-22 00:05:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (10, 'dev', 'my_group', 1, 10, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:06:37', '2024-05-22 00:06:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (11, 'dev', 'my_group', 1, 11, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:07:37', '2024-05-22 00:07:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (12, 'dev', 'my_group', 1, 12, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:08:37', '2024-05-22 00:08:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (13, 'dev', 'my_group', 1, 13, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:09:37', '2024-05-22 00:09:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (14, 'dev', 'my_group', 1, 14, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:10:37', '2024-05-22 00:10:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (15, 'dev', 'my_group', 1, 15, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:11:37', '2024-05-22 00:11:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (16, 'dev', 'my_group', 1, 16, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:12:37', '2024-05-22 00:12:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (17, 'dev', 'my_group', 1, 17, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:13:37', '2024-05-22 00:13:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (18, 'dev', 'my_group', 1, 18, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:14:37', '2024-05-22 00:14:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (19, 'dev', 'my_group', 1, 19, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:15:37', '2024-05-22 00:15:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (20, 'dev', 'my_group', 1, 20, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:16:37', '2024-05-22 00:16:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (21, 'dev', 'my_group', 1, 21, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:17:37', '2024-05-22 00:17:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (22, 'dev', 'my_group', 1, 22, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:18:37', '2024-05-22 00:18:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (23, 'dev', 'my_group', 1, 23, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:19:37', '2024-05-22 00:19:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (24, 'dev', 'my_group', 1, 24, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:20:37', '2024-05-22 00:20:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (25, 'dev', 'my_group', 1, 25, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:21:37', '2024-05-22 00:21:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (26, 'dev', 'my_group', 1, 26, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:22:37', '2024-05-22 00:22:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (27, 'dev', 'my_group', 1, 27, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:23:37', '2024-05-22 00:23:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (28, 'dev', 'my_group', 1, 28, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:24:37', '2024-05-22 00:24:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (29, 'dev', 'my_group', 1, 29, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:25:37', '2024-05-22 00:25:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (30, 'dev', 'my_group', 1, 30, 0, 3, 0, '1792944246919561216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 00:26:37', '2024-05-22 00:26:37');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (31, 'dev', 'my_group', 1, 32, 0, 3, 0, '1793298077080969216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:12:18', '2024-05-22 23:12:19');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (32, 'dev', 'my_group', 1, 33, 0, 3, 0, '1793298077080969216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:13:18', '2024-05-22 23:13:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (33, 'dev', 'my_group', 1, 34, 0, 3, 0, '1793298077080969216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:14:18', '2024-05-22 23:14:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (34, 'dev', 'my_group', 1, 35, 0, 3, 0, '1793298077080969216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:15:18', '2024-05-22 23:15:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (35, 'dev', 'my_group', 1, 36, 0, 3, 0, '1793298077080969216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:16:18', '2024-05-22 23:16:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (36, 'dev', 'my_group', 1, 37, 0, 3, 0, '1793298077080969216@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:17:18', '2024-05-22 23:17:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (37, 'dev', 'my_group', 1, 38, 0, 3, 0, '1793300224463933440@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:18:18', '2024-05-22 23:18:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (38, 'dev', 'my_group', 1, 39, 0, 3, 0, '1793300224463933440@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:19:18', '2024-05-22 23:19:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (39, 'dev', 'my_group', 1, 40, 0, 3, 0, '1793300224463933440@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:20:18', '2024-05-22 23:20:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (40, 'dev', 'my_group', 1, 41, 0, 3, 0, '1793300224463933440@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:21:18', '2024-05-22 23:21:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (41, 'dev', 'my_group', 1, 42, 0, 3, 0, '1793300224463933440@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:22:18', '2024-05-22 23:22:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (42, 'dev', 'my_group', 1, 43, 0, 3, 0, '1793300224463933440@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:23:18', '2024-05-22 23:23:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (43, 'dev', 'my_group', 1, 44, 0, 3, 0, '1793300224463933440@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:24:18', '2024-05-22 23:24:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (44, 'dev', 'my_group', 1, 45, 0, 3, 0, '1793300224463933440@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:25:18', '2024-05-22 23:25:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (45, 'dev', 'my_group', 1, 46, 0, 3, 0, '1793300224463933440@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:26:18', '2024-05-22 23:26:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (46, 'dev', 'my_group', 1, 47, 0, 3, 0, '1793300224463933440@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:27:18', '2024-05-22 23:27:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (47, 'dev', 'my_group', 1, 48, 0, 3, 0, '1793300224463933440@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:28:18', '2024-05-22 23:28:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (48, 'dev', 'my_group', 1, 49, 0, 3, 0, '1793300224463933440@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:29:18', '2024-05-22 23:29:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (49, 'dev', 'my_group', 1, 50, 0, 3, 0, '1793300224463933440@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:30:18', '2024-05-22 23:30:18');
INSERT INTO `sj_job_task` (`id`, `namespace_id`, `group_name`, `job_id`, `task_batch_id`, `parent_id`, `task_status`, `retry_count`, `client_info`, `result_message`, `args_str`, `args_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (50, 'dev', 'my_group', 1, 51, 0, 3, 0, '1793300224463933440@127.0.1.1:1789', '\"测试成功\"', NULL, 1, '', '2024-05-22 23:31:18', '2024-05-22 23:31:18');
COMMIT;

-- ----------------------------
-- Table structure for sj_job_task_batch
-- ----------------------------
DROP TABLE IF EXISTS `sj_job_task_batch`;
CREATE TABLE `sj_job_task_batch` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `group_name` varchar(64) NOT NULL COMMENT '组名称',
  `job_id` bigint NOT NULL COMMENT '任务id',
  `workflow_node_id` bigint NOT NULL DEFAULT '0' COMMENT '工作流节点id',
  `parent_workflow_node_id` bigint NOT NULL DEFAULT '0' COMMENT '工作流任务父批次id',
  `workflow_task_batch_id` bigint NOT NULL DEFAULT '0' COMMENT '工作流任务批次id',
  `task_batch_status` tinyint NOT NULL DEFAULT '0' COMMENT '任务批次状态 0、失败 1、成功',
  `operation_reason` tinyint NOT NULL DEFAULT '0' COMMENT '操作原因',
  `execution_at` bigint NOT NULL DEFAULT '0' COMMENT '任务执行时间',
  `system_task_type` tinyint NOT NULL DEFAULT '3' COMMENT '任务类型 3、JOB任务 4、WORKFLOW任务',
  `parent_id` varchar(64) NOT NULL DEFAULT '' COMMENT '父节点',
  `ext_attrs` varchar(256) DEFAULT '' COMMENT '扩展字段',
  `deleted` tinyint NOT NULL DEFAULT '0' COMMENT '逻辑删除 1、删除',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  KEY `idx_job_id_task_batch_status` (`job_id`,`task_batch_status`),
  KEY `idx_create_dt` (`create_dt`),
  KEY `idx_namespace_id_group_name` (`namespace_id`,`group_name`),
  KEY `idx_workflow_task_batch_id_workflow_node_id` (`workflow_task_batch_id`,`workflow_node_id`)
) ENGINE=InnoDB AUTO_INCREMENT=52 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='任务批次';

-- ----------------------------
-- Records of sj_job_task_batch
-- ----------------------------
BEGIN;
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (1, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307057841, 3, '', '', 0, '2024-05-21 23:57:38', '2024-05-21 23:57:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (2, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307117835, 3, '', '', 0, '2024-05-21 23:58:38', '2024-05-21 23:58:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (3, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307177835, 3, '', '', 0, '2024-05-21 23:59:38', '2024-05-21 23:59:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (4, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307237835, 3, '', '', 0, '2024-05-22 00:00:38', '2024-05-22 00:00:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (5, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307297835, 3, '', '', 0, '2024-05-22 00:01:38', '2024-05-22 00:01:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (6, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307357835, 3, '', '', 0, '2024-05-22 00:02:38', '2024-05-22 00:02:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (7, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307417835, 3, '', '', 0, '2024-05-22 00:03:38', '2024-05-22 00:03:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (8, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307477835, 3, '', '', 0, '2024-05-22 00:04:38', '2024-05-22 00:04:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (9, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307537835, 3, '', '', 0, '2024-05-22 00:05:38', '2024-05-22 00:05:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (10, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307597835, 3, '', '', 0, '2024-05-22 00:06:38', '2024-05-22 00:06:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (11, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307657835, 3, '', '', 0, '2024-05-22 00:07:38', '2024-05-22 00:07:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (12, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307717835, 3, '', '', 0, '2024-05-22 00:08:38', '2024-05-22 00:08:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (13, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307777835, 3, '', '', 0, '2024-05-22 00:09:38', '2024-05-22 00:09:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (14, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307837835, 3, '', '', 0, '2024-05-22 00:10:38', '2024-05-22 00:10:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (15, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307897834, 3, '', '', 0, '2024-05-22 00:11:38', '2024-05-22 00:11:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (16, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716307957835, 3, '', '', 0, '2024-05-22 00:12:38', '2024-05-22 00:12:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (17, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716308017834, 3, '', '', 0, '2024-05-22 00:13:38', '2024-05-22 00:13:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (18, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716308077836, 3, '', '', 0, '2024-05-22 00:14:38', '2024-05-22 00:14:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (19, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716308137835, 3, '', '', 0, '2024-05-22 00:15:38', '2024-05-22 00:15:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (20, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716308197834, 3, '', '', 0, '2024-05-22 00:16:38', '2024-05-22 00:16:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (21, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716308257835, 3, '', '', 0, '2024-05-22 00:17:38', '2024-05-22 00:17:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (22, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716308317835, 3, '', '', 0, '2024-05-22 00:18:38', '2024-05-22 00:18:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (23, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716308377834, 3, '', '', 0, '2024-05-22 00:19:38', '2024-05-22 00:19:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (24, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716308437834, 3, '', '', 0, '2024-05-22 00:20:38', '2024-05-22 00:20:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (25, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716308497835, 3, '', '', 0, '2024-05-22 00:21:38', '2024-05-22 00:21:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (26, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716308557835, 3, '', '', 0, '2024-05-22 00:22:38', '2024-05-22 00:22:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (27, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716308617835, 3, '', '', 0, '2024-05-22 00:23:38', '2024-05-22 00:23:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (28, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716308677834, 3, '', '', 0, '2024-05-22 00:24:38', '2024-05-22 00:24:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (29, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716308737835, 3, '', '', 0, '2024-05-22 00:25:38', '2024-05-22 00:25:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (30, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716308797835, 3, '', '', 0, '2024-05-22 00:26:38', '2024-05-22 00:26:38');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (31, 'dev', 'my_group', 1, 0, 0, 0, 6, 2, 0, 3, '', '', 0, '2024-05-22 23:11:19', '2024-05-22 23:11:18');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (32, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716390738860, 3, '', '', 0, '2024-05-22 23:12:19', '2024-05-22 23:12:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (33, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716390798728, 3, '', '', 0, '2024-05-22 23:13:19', '2024-05-22 23:13:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (34, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716390858829, 3, '', '', 0, '2024-05-22 23:14:19', '2024-05-22 23:14:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (35, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716390918829, 3, '', '', 0, '2024-05-22 23:15:19', '2024-05-22 23:15:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (36, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716390978836, 3, '', '', 0, '2024-05-22 23:16:19', '2024-05-22 23:16:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (37, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716391038832, 3, '', '', 0, '2024-05-22 23:17:19', '2024-05-22 23:17:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (38, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716391098727, 3, '', '', 0, '2024-05-22 23:18:19', '2024-05-22 23:18:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (39, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716391158728, 3, '', '', 0, '2024-05-22 23:19:19', '2024-05-22 23:19:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (40, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716391218829, 3, '', '', 0, '2024-05-22 23:20:19', '2024-05-22 23:20:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (41, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716391278733, 3, '', '', 0, '2024-05-22 23:21:19', '2024-05-22 23:21:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (42, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716391338727, 3, '', '', 0, '2024-05-22 23:22:19', '2024-05-22 23:22:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (43, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716391398828, 3, '', '', 0, '2024-05-22 23:23:19', '2024-05-22 23:23:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (44, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716391458728, 3, '', '', 0, '2024-05-22 23:24:19', '2024-05-22 23:24:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (45, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716391518727, 3, '', '', 0, '2024-05-22 23:25:19', '2024-05-22 23:25:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (46, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716391578727, 3, '', '', 0, '2024-05-22 23:26:19', '2024-05-22 23:26:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (47, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716391638727, 3, '', '', 0, '2024-05-22 23:27:19', '2024-05-22 23:27:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (48, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716391698728, 3, '', '', 0, '2024-05-22 23:28:19', '2024-05-22 23:28:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (49, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716391758727, 3, '', '', 0, '2024-05-22 23:29:19', '2024-05-22 23:29:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (50, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716391818727, 3, '', '', 0, '2024-05-22 23:30:19', '2024-05-22 23:30:19');
INSERT INTO `sj_job_task_batch` (`id`, `namespace_id`, `group_name`, `job_id`, `workflow_node_id`, `parent_workflow_node_id`, `workflow_task_batch_id`, `task_batch_status`, `operation_reason`, `execution_at`, `system_task_type`, `parent_id`, `ext_attrs`, `deleted`, `create_dt`, `update_dt`) VALUES (51, 'dev', 'my_group', 1, 0, 0, 0, 3, 0, 1716391878727, 3, '', '', 0, '2024-05-22 23:31:19', '2024-05-22 23:31:19');
COMMIT;

-- ----------------------------
-- Table structure for sj_namespace
-- ----------------------------
DROP TABLE IF EXISTS `sj_namespace`;
CREATE TABLE `sj_namespace` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `name` varchar(64) NOT NULL COMMENT '名称',
  `unique_id` varchar(64) NOT NULL COMMENT '唯一id',
  `description` varchar(256) NOT NULL DEFAULT '' COMMENT '描述',
  `deleted` tinyint NOT NULL DEFAULT '0' COMMENT '逻辑删除 1、删除',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_unique_id` (`unique_id`),
  KEY `idx_name` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='命名空间';

-- ----------------------------
-- Records of sj_namespace
-- ----------------------------
BEGIN;
INSERT INTO `sj_namespace` (`id`, `name`, `unique_id`, `description`, `deleted`, `create_dt`, `update_dt`) VALUES (1, 'Development', 'dev', '', 0, '2024-05-21 23:56:45', '2024-05-21 23:56:45');
INSERT INTO `sj_namespace` (`id`, `name`, `unique_id`, `description`, `deleted`, `create_dt`, `update_dt`) VALUES (2, 'Production', 'prod', '', 0, '2024-05-21 23:56:45', '2024-05-21 23:56:45');
COMMIT;

-- ----------------------------
-- Table structure for sj_notify_config
-- ----------------------------
DROP TABLE IF EXISTS `sj_notify_config`;
CREATE TABLE `sj_notify_config` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `group_name` varchar(64) NOT NULL COMMENT '组名称',
  `business_id` varchar(64) NOT NULL COMMENT '业务id (job_id或workflow_id或scene_name)',
  `system_task_type` tinyint NOT NULL DEFAULT '3' COMMENT '任务类型 1. 重试任务 2. 重试回调 3、JOB任务 4、WORKFLOW任务',
  `notify_status` tinyint NOT NULL DEFAULT '0' COMMENT '通知状态 0、未启用 1、启用',
  `recipient_ids` varchar(128) NOT NULL COMMENT '接收人id列表',
  `notify_threshold` int NOT NULL DEFAULT '0' COMMENT '通知阈值',
  `notify_scene` tinyint NOT NULL DEFAULT '0' COMMENT '通知场景',
  `rate_limiter_status` tinyint NOT NULL DEFAULT '0' COMMENT '限流状态 0、未启用 1、启用',
  `rate_limiter_threshold` int NOT NULL DEFAULT '0' COMMENT '每秒限流阈值',
  `description` varchar(256) NOT NULL DEFAULT '' COMMENT '描述',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  KEY `idx_namespace_id_group_name_scene_name` (`namespace_id`,`group_name`,`business_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='通知配置';

-- ----------------------------
-- Records of sj_notify_config
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sj_notify_recipient
-- ----------------------------
DROP TABLE IF EXISTS `sj_notify_recipient`;
CREATE TABLE `sj_notify_recipient` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `recipient_name` varchar(64) NOT NULL COMMENT '接收人名称',
  `notify_type` tinyint NOT NULL DEFAULT '0' COMMENT '通知类型 1、钉钉 2、邮件 3、企业微信 4 飞书',
  `notify_attribute` varchar(512) NOT NULL COMMENT '配置属性',
  `description` varchar(256) NOT NULL DEFAULT '' COMMENT '描述',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  KEY `idx_namespace_id` (`namespace_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='告警通知接收人';

-- ----------------------------
-- Records of sj_notify_recipient
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sj_retry_dead_letter_0
-- ----------------------------
DROP TABLE IF EXISTS `sj_retry_dead_letter_0`;
CREATE TABLE `sj_retry_dead_letter_0` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `unique_id` varchar(64) NOT NULL COMMENT '同组下id唯一',
  `group_name` varchar(64) NOT NULL COMMENT '组名称',
  `scene_name` varchar(64) NOT NULL COMMENT '场景名称',
  `idempotent_id` varchar(64) NOT NULL COMMENT '幂等id',
  `biz_no` varchar(64) NOT NULL DEFAULT '' COMMENT '业务编号',
  `executor_name` varchar(512) NOT NULL DEFAULT '' COMMENT '执行器名称',
  `args_str` text NOT NULL COMMENT '执行方法参数',
  `ext_attrs` text NOT NULL COMMENT '扩展字段',
  `task_type` tinyint NOT NULL DEFAULT '1' COMMENT '任务类型 1、重试数据 2、回调数据',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_namespace_id_group_name_unique_id` (`namespace_id`,`group_name`,`unique_id`),
  KEY `idx_namespace_id_group_name_scene_name` (`namespace_id`,`group_name`,`scene_name`),
  KEY `idx_idempotent_id` (`idempotent_id`),
  KEY `idx_biz_no` (`biz_no`),
  KEY `idx_create_dt` (`create_dt`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='死信队列表';

-- ----------------------------
-- Records of sj_retry_dead_letter_0
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sj_retry_scene_config
-- ----------------------------
DROP TABLE IF EXISTS `sj_retry_scene_config`;
CREATE TABLE `sj_retry_scene_config` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `scene_name` varchar(64) NOT NULL COMMENT '场景名称',
  `group_name` varchar(64) NOT NULL COMMENT '组名称',
  `scene_status` tinyint NOT NULL DEFAULT '0' COMMENT '组状态 0、未启用 1、启用',
  `max_retry_count` int NOT NULL DEFAULT '5' COMMENT '最大重试次数',
  `back_off` tinyint NOT NULL DEFAULT '1' COMMENT '1、默认等级 2、固定间隔时间 3、CRON 表达式',
  `trigger_interval` varchar(16) NOT NULL DEFAULT '' COMMENT '间隔时长',
  `deadline_request` bigint unsigned NOT NULL DEFAULT '60000' COMMENT 'Deadline Request 调用链超时 单位毫秒',
  `executor_timeout` int unsigned NOT NULL DEFAULT '5' COMMENT '任务执行超时时间，单位秒',
  `route_key` tinyint NOT NULL DEFAULT '4' COMMENT '路由策略',
  `description` varchar(256) NOT NULL DEFAULT '' COMMENT '描述',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_namespace_id_group_name_scene_name` (`namespace_id`,`group_name`,`scene_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='场景配置';

-- ----------------------------
-- Records of sj_retry_scene_config
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sj_retry_summary
-- ----------------------------
DROP TABLE IF EXISTS `sj_retry_summary`;
CREATE TABLE `sj_retry_summary` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `group_name` varchar(64) NOT NULL DEFAULT '' COMMENT '组名称',
  `scene_name` varchar(50) NOT NULL DEFAULT '' COMMENT '场景名称',
  `trigger_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '统计时间',
  `running_num` int NOT NULL DEFAULT '0' COMMENT '重试中-日志数量',
  `finish_num` int NOT NULL DEFAULT '0' COMMENT '重试完成-日志数量',
  `max_count_num` int NOT NULL DEFAULT '0' COMMENT '重试到达最大次数-日志数量',
  `suspend_num` int NOT NULL DEFAULT '0' COMMENT '暂停重试-日志数量',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_scene_name_trigger_at` (`namespace_id`,`group_name`,`scene_name`,`trigger_at`) USING BTREE,
  KEY `idx_trigger_at` (`trigger_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='DashBoard_Retry';

-- ----------------------------
-- Records of sj_retry_summary
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sj_retry_task_0
-- ----------------------------
DROP TABLE IF EXISTS `sj_retry_task_0`;
CREATE TABLE `sj_retry_task_0` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `unique_id` varchar(64) NOT NULL COMMENT '同组下id唯一',
  `group_name` varchar(64) NOT NULL COMMENT '组名称',
  `scene_name` varchar(64) NOT NULL COMMENT '场景名称',
  `idempotent_id` varchar(64) NOT NULL COMMENT '幂等id',
  `biz_no` varchar(64) NOT NULL DEFAULT '' COMMENT '业务编号',
  `executor_name` varchar(512) NOT NULL DEFAULT '' COMMENT '执行器名称',
  `args_str` text NOT NULL COMMENT '执行方法参数',
  `ext_attrs` text NOT NULL COMMENT '扩展字段',
  `next_trigger_at` datetime NOT NULL COMMENT '下次触发时间',
  `retry_count` int NOT NULL DEFAULT '0' COMMENT '重试次数',
  `retry_status` tinyint NOT NULL DEFAULT '0' COMMENT '重试状态 0、重试中 1、成功 2、最大重试次数',
  `task_type` tinyint NOT NULL DEFAULT '1' COMMENT '任务类型 1、重试数据 2、回调数据',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_name_unique_id` (`namespace_id`,`group_name`,`unique_id`),
  KEY `idx_namespace_id_group_name_scene_name` (`namespace_id`,`group_name`,`scene_name`),
  KEY `idx_namespace_id_group_name_task_type` (`namespace_id`,`group_name`,`task_type`),
  KEY `idx_namespace_id_group_name_retry_status` (`namespace_id`,`group_name`,`retry_status`),
  KEY `idx_idempotent_id` (`idempotent_id`),
  KEY `idx_biz_no` (`biz_no`),
  KEY `idx_create_dt` (`create_dt`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='任务表';

-- ----------------------------
-- Records of sj_retry_task_0
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sj_retry_task_log
-- ----------------------------
DROP TABLE IF EXISTS `sj_retry_task_log`;
CREATE TABLE `sj_retry_task_log` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `unique_id` varchar(64) NOT NULL COMMENT '同组下id唯一',
  `group_name` varchar(64) NOT NULL COMMENT '组名称',
  `scene_name` varchar(64) NOT NULL COMMENT '场景名称',
  `idempotent_id` varchar(64) NOT NULL COMMENT '幂等id',
  `biz_no` varchar(64) NOT NULL DEFAULT '' COMMENT '业务编号',
  `executor_name` varchar(512) NOT NULL DEFAULT '' COMMENT '执行器名称',
  `args_str` text NOT NULL COMMENT '执行方法参数',
  `ext_attrs` text NOT NULL COMMENT '扩展字段',
  `retry_status` tinyint NOT NULL DEFAULT '0' COMMENT '重试状态 0、重试中 1、成功 2、最大次数',
  `task_type` tinyint NOT NULL DEFAULT '1' COMMENT '任务类型 1、重试数据 2、回调数据',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  KEY `idx_group_name_scene_name` (`namespace_id`,`group_name`,`scene_name`),
  KEY `idx_retry_status` (`retry_status`),
  KEY `idx_idempotent_id` (`idempotent_id`),
  KEY `idx_unique_id` (`unique_id`),
  KEY `idx_biz_no` (`biz_no`),
  KEY `idx_create_dt` (`create_dt`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='任务日志基础信息表';

-- ----------------------------
-- Records of sj_retry_task_log
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sj_retry_task_log_message
-- ----------------------------
DROP TABLE IF EXISTS `sj_retry_task_log_message`;
CREATE TABLE `sj_retry_task_log_message` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `group_name` varchar(64) NOT NULL COMMENT '组名称',
  `unique_id` varchar(64) NOT NULL COMMENT '同组下id唯一',
  `message` longtext NOT NULL COMMENT '异常信息',
  `log_num` int NOT NULL DEFAULT '1' COMMENT '日志数量',
  `real_time` bigint NOT NULL DEFAULT '0' COMMENT '上报时间',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  PRIMARY KEY (`id`),
  KEY `idx_namespace_id_group_name_scene_name` (`namespace_id`,`group_name`,`unique_id`),
  KEY `idx_create_dt` (`create_dt`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='任务调度日志信息记录表';

-- ----------------------------
-- Records of sj_retry_task_log_message
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sj_sequence_alloc
-- ----------------------------
DROP TABLE IF EXISTS `sj_sequence_alloc`;
CREATE TABLE `sj_sequence_alloc` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `group_name` varchar(64) NOT NULL DEFAULT '' COMMENT '组名称',
  `max_id` bigint NOT NULL DEFAULT '1' COMMENT '最大id',
  `step` int NOT NULL DEFAULT '100' COMMENT '步长',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_namespace_id_group_name` (`namespace_id`,`group_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='号段模式序号ID分配表';

-- ----------------------------
-- Records of sj_sequence_alloc
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sj_server_node
-- ----------------------------
DROP TABLE IF EXISTS `sj_server_node`;
CREATE TABLE `sj_server_node` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `group_name` varchar(64) NOT NULL COMMENT '组名称',
  `host_id` varchar(64) NOT NULL COMMENT '主机id',
  `host_ip` varchar(64) NOT NULL COMMENT '机器ip',
  `host_port` int NOT NULL COMMENT '机器端口',
  `expire_at` datetime NOT NULL COMMENT '过期时间',
  `node_type` tinyint NOT NULL COMMENT '节点类型 1、客户端 2、是服务端',
  `ext_attrs` varchar(256) DEFAULT '' COMMENT '扩展字段',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_host_id_host_ip` (`host_id`,`host_ip`),
  KEY `idx_namespace_id_group_name` (`namespace_id`,`group_name`),
  KEY `idx_expire_at_node_type` (`expire_at`,`node_type`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='服务器节点';

-- ----------------------------
-- Records of sj_server_node
-- ----------------------------
BEGIN;
INSERT INTO `sj_server_node` (`id`, `namespace_id`, `group_name`, `host_id`, `host_ip`, `host_port`, `expire_at`, `node_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (4, 'DEFAULT_SERVER_NAMESPACE_ID', 'DEFAULT_SERVER', '1793298466362703872', '127.0.1.1', 1788, '2024-05-22 23:31:59', 2, '{\"webPort\":8800}', '2024-05-22 23:10:49', '2024-05-22 23:31:29');
INSERT INTO `sj_server_node` (`id`, `namespace_id`, `group_name`, `host_id`, `host_ip`, `host_port`, `expire_at`, `node_type`, `ext_attrs`, `create_dt`, `update_dt`) VALUES (6, 'dev', 'my_group', '1793300224463933440', '127.0.1.1', 1789, '2024-05-22 23:31:59', 1, NULL, '2024-05-22 23:17:46', '2024-05-22 23:31:29');
COMMIT;

-- ----------------------------
-- Table structure for sj_system_user
-- ----------------------------
DROP TABLE IF EXISTS `sj_system_user`;
CREATE TABLE `sj_system_user` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `username` varchar(64) NOT NULL COMMENT '账号',
  `password` varchar(128) NOT NULL COMMENT '密码',
  `role` tinyint NOT NULL DEFAULT '0' COMMENT '角色：1-普通用户、2-管理员',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_username` (`username`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='系统用户表';

-- ----------------------------
-- Records of sj_system_user
-- ----------------------------
BEGIN;
INSERT INTO `sj_system_user` (`id`, `username`, `password`, `role`, `create_dt`, `update_dt`) VALUES (1, 'admin', '465c194afb65670f38322df087f0a9bb225cc257e43eb4ac5a0c98ef5b3173ac', 2, '2024-05-21 23:56:46', '2024-05-21 23:56:46');
COMMIT;

-- ----------------------------
-- Table structure for sj_system_user_permission
-- ----------------------------
DROP TABLE IF EXISTS `sj_system_user_permission`;
CREATE TABLE `sj_system_user_permission` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `group_name` varchar(64) NOT NULL COMMENT '组名称',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `system_user_id` bigint NOT NULL COMMENT '系统用户id',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `uk_namespace_id_group_name_system_user_id` (`namespace_id`,`group_name`,`system_user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='系统用户权限表';

-- ----------------------------
-- Records of sj_system_user_permission
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sj_workflow
-- ----------------------------
DROP TABLE IF EXISTS `sj_workflow`;
CREATE TABLE `sj_workflow` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `workflow_name` varchar(64) NOT NULL COMMENT '工作流名称',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `group_name` varchar(64) NOT NULL COMMENT '组名称',
  `workflow_status` tinyint NOT NULL DEFAULT '1' COMMENT '工作流状态 0、关闭、1、开启',
  `trigger_type` tinyint NOT NULL COMMENT '触发类型 1.CRON 表达式 2. 固定时间',
  `trigger_interval` varchar(255) NOT NULL COMMENT '间隔时长',
  `next_trigger_at` bigint NOT NULL COMMENT '下次触发时间',
  `block_strategy` tinyint NOT NULL DEFAULT '1' COMMENT '阻塞策略 1、丢弃 2、覆盖 3、并行',
  `executor_timeout` int NOT NULL DEFAULT '0' COMMENT '任务执行超时时间，单位秒',
  `description` varchar(256) NOT NULL DEFAULT '' COMMENT '描述',
  `flow_info` text COMMENT '流程信息',
  `bucket_index` int NOT NULL DEFAULT '0' COMMENT 'bucket',
  `version` int NOT NULL COMMENT '版本号',
  `ext_attrs` varchar(256) DEFAULT '' COMMENT '扩展字段',
  `deleted` tinyint NOT NULL DEFAULT '0' COMMENT '逻辑删除 1、删除',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  KEY `idx_create_dt` (`create_dt`),
  KEY `idx_namespace_id_group_name` (`namespace_id`,`group_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='工作流';

-- ----------------------------
-- Records of sj_workflow
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sj_workflow_node
-- ----------------------------
DROP TABLE IF EXISTS `sj_workflow_node`;
CREATE TABLE `sj_workflow_node` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `node_name` varchar(64) NOT NULL COMMENT '节点名称',
  `group_name` varchar(64) NOT NULL COMMENT '组名称',
  `job_id` bigint NOT NULL COMMENT '任务信息id',
  `workflow_id` bigint NOT NULL COMMENT '工作流ID',
  `node_type` tinyint NOT NULL DEFAULT '1' COMMENT '1、任务节点 2、条件节点',
  `expression_type` tinyint NOT NULL DEFAULT '0' COMMENT '1、SpEl、2、Aviator 3、QL',
  `fail_strategy` tinyint NOT NULL DEFAULT '1' COMMENT '失败策略 1、跳过 2、阻塞',
  `workflow_node_status` tinyint NOT NULL DEFAULT '1' COMMENT '工作流节点状态 0、关闭、1、开启',
  `priority_level` int NOT NULL DEFAULT '1' COMMENT '优先级',
  `node_info` text COMMENT '节点信息 ',
  `version` int NOT NULL COMMENT '版本号',
  `ext_attrs` varchar(256) DEFAULT '' COMMENT '扩展字段',
  `deleted` tinyint NOT NULL DEFAULT '0' COMMENT '逻辑删除 1、删除',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  KEY `idx_create_dt` (`create_dt`),
  KEY `idx_namespace_id_group_name` (`namespace_id`,`group_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='工作流节点';

-- ----------------------------
-- Records of sj_workflow_node
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sj_workflow_task_batch
-- ----------------------------
DROP TABLE IF EXISTS `sj_workflow_task_batch`;
CREATE TABLE `sj_workflow_task_batch` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `namespace_id` varchar(64) NOT NULL DEFAULT '764d604ec6fc45f68cd92514c40e9e1a' COMMENT '命名空间id',
  `group_name` varchar(64) NOT NULL COMMENT '组名称',
  `workflow_id` bigint NOT NULL COMMENT '工作流任务id',
  `task_batch_status` tinyint NOT NULL DEFAULT '0' COMMENT '任务批次状态 0、失败 1、成功',
  `operation_reason` tinyint NOT NULL DEFAULT '0' COMMENT '操作原因',
  `flow_info` text COMMENT '流程信息',
  `execution_at` bigint NOT NULL DEFAULT '0' COMMENT '任务执行时间',
  `ext_attrs` varchar(256) DEFAULT '' COMMENT '扩展字段',
  `deleted` tinyint NOT NULL DEFAULT '0' COMMENT '逻辑删除 1、删除',
  `create_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `update_dt` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '修改时间',
  PRIMARY KEY (`id`),
  KEY `idx_job_id_task_batch_status` (`workflow_id`,`task_batch_status`),
  KEY `idx_create_dt` (`create_dt`),
  KEY `idx_namespace_id_group_name` (`namespace_id`,`group_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci COMMENT='工作流批次';

-- ----------------------------
-- Records of sj_workflow_task_batch
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_client
-- ----------------------------
DROP TABLE IF EXISTS `sys_client`;
CREATE TABLE `sys_client` (
  `id` bigint NOT NULL COMMENT 'id',
  `client_id` varchar(64) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户端id',
  `client_key` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户端key',
  `client_secret` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '客户端秘钥',
  `grant_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '授权类型',
  `device_type` varchar(32) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '设备类型',
  `active_timeout` int DEFAULT '1800' COMMENT 'token活跃超时时间',
  `timeout` int DEFAULT '604800' COMMENT 'token固定超时',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='系统授权表';

-- ----------------------------
-- Records of sys_client
-- ----------------------------
BEGIN;
INSERT INTO `sys_client` (`id`, `client_id`, `client_key`, `client_secret`, `grant_type`, `device_type`, `active_timeout`, `timeout`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (1, 'e5cd7e4891bf95d1d19206ce24a7b32e', 'pc', 'pc123', 'password,social', 'pc', 1800, 604800, '0', '0', 103, 1, '2024-05-21 23:41:32', 1, '2024-05-21 23:41:32');
INSERT INTO `sys_client` (`id`, `client_id`, `client_key`, `client_secret`, `grant_type`, `device_type`, `active_timeout`, `timeout`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (2, '428a8310cd442757ae699df5d894f051', 'app', 'app123', 'password,sms,social', 'android', 1800, 604800, '0', '0', 103, 1, '2024-05-21 23:41:32', 1, '2024-05-21 23:41:32');
COMMIT;

-- ----------------------------
-- Table structure for sys_config
-- ----------------------------
DROP TABLE IF EXISTS `sys_config`;
CREATE TABLE `sys_config` (
  `config_id` bigint NOT NULL COMMENT '参数主键',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '000000' COMMENT '租户编号',
  `config_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '参数名称',
  `config_key` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '参数键名',
  `config_value` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '参数键值',
  `config_type` char(1) COLLATE utf8mb4_general_ci DEFAULT 'N' COMMENT '系统内置（Y是 N否）',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`config_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='参数配置表';

-- ----------------------------
-- Records of sys_config
-- ----------------------------
BEGIN;
INSERT INTO `sys_config` (`config_id`, `tenant_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '000000', '主框架页-默认皮肤样式名称', 'sys.index.skinName', 'skin-blue', 'Y', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '蓝色 skin-blue、绿色 skin-green、紫色 skin-purple、红色 skin-red、黄色 skin-yellow');
INSERT INTO `sys_config` (`config_id`, `tenant_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '000000', '用户管理-账号初始密码', 'sys.user.initPassword', '123456', 'Y', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '初始化密码 123456');
INSERT INTO `sys_config` (`config_id`, `tenant_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '000000', '主框架页-侧边栏主题', 'sys.index.sideTheme', 'theme-dark', 'Y', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '深色主题theme-dark，浅色主题theme-light');
INSERT INTO `sys_config` (`config_id`, `tenant_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (5, '000000', '账号自助-是否开启用户注册功能', 'sys.account.registerUser', 'false', 'Y', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '是否开启注册用户功能（true开启，false关闭）');
INSERT INTO `sys_config` (`config_id`, `tenant_id`, `config_name`, `config_key`, `config_value`, `config_type`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (11, '000000', 'OSS预览列表资源开关', 'sys.oss.previewListResource', 'true', 'Y', 103, 1, '2024-05-21 23:41:32', NULL, NULL, 'true:开启, false:关闭');
COMMIT;

-- ----------------------------
-- Table structure for sys_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_dept`;
CREATE TABLE `sys_dept` (
  `dept_id` bigint NOT NULL COMMENT '部门id',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '000000' COMMENT '租户编号',
  `parent_id` bigint DEFAULT '0' COMMENT '父部门id',
  `ancestors` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '祖级列表',
  `dept_name` varchar(30) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '部门名称',
  `dept_category` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '部门类别编码',
  `order_num` int DEFAULT '0' COMMENT '显示顺序',
  `leader` bigint DEFAULT NULL COMMENT '负责人',
  `phone` varchar(11) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系电话',
  `email` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '邮箱',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '部门状态（0正常 1停用）',
  `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`dept_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='部门表';

-- ----------------------------
-- Records of sys_dept
-- ----------------------------
BEGIN;
INSERT INTO `sys_dept` (`dept_id`, `tenant_id`, `parent_id`, `ancestors`, `dept_name`, `dept_category`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (100, '000000', 0, '0', '混水摸鱼组织', NULL, 0, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL);
INSERT INTO `sys_dept` (`dept_id`, `tenant_id`, `parent_id`, `ancestors`, `dept_name`, `dept_category`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (101, '000000', 100, '0,100', '深圳总公司', NULL, 1, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL);
INSERT INTO `sys_dept` (`dept_id`, `tenant_id`, `parent_id`, `ancestors`, `dept_name`, `dept_category`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (102, '000000', 100, '0,100', '长沙分公司', NULL, 2, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL);
INSERT INTO `sys_dept` (`dept_id`, `tenant_id`, `parent_id`, `ancestors`, `dept_name`, `dept_category`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (103, '000000', 101, '0,100,101', '研发部门', NULL, 1, 1, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL);
INSERT INTO `sys_dept` (`dept_id`, `tenant_id`, `parent_id`, `ancestors`, `dept_name`, `dept_category`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (104, '000000', 101, '0,100,101', '市场部门', NULL, 2, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL);
INSERT INTO `sys_dept` (`dept_id`, `tenant_id`, `parent_id`, `ancestors`, `dept_name`, `dept_category`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (105, '000000', 101, '0,100,101', '测试部门', NULL, 3, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL);
INSERT INTO `sys_dept` (`dept_id`, `tenant_id`, `parent_id`, `ancestors`, `dept_name`, `dept_category`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (106, '000000', 101, '0,100,101', '财务部门', NULL, 4, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL);
INSERT INTO `sys_dept` (`dept_id`, `tenant_id`, `parent_id`, `ancestors`, `dept_name`, `dept_category`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (107, '000000', 101, '0,100,101', '运维部门', NULL, 5, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL);
INSERT INTO `sys_dept` (`dept_id`, `tenant_id`, `parent_id`, `ancestors`, `dept_name`, `dept_category`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (108, '000000', 102, '0,100,102', '市场部门', NULL, 1, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL);
INSERT INTO `sys_dept` (`dept_id`, `tenant_id`, `parent_id`, `ancestors`, `dept_name`, `dept_category`, `order_num`, `leader`, `phone`, `email`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (109, '000000', 102, '0,100,102', '财务部门', NULL, 2, NULL, '15888888888', 'xxx@qq.com', '0', '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_dict_data
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_data`;
CREATE TABLE `sys_dict_data` (
  `dict_code` bigint NOT NULL COMMENT '字典编码',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '000000' COMMENT '租户编号',
  `dict_sort` int DEFAULT '0' COMMENT '字典排序',
  `dict_label` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典标签',
  `dict_value` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典键值',
  `dict_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典类型',
  `css_class` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '样式属性（其他样式扩展）',
  `list_class` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '表格回显样式',
  `is_default` char(1) COLLATE utf8mb4_general_ci DEFAULT 'N' COMMENT '是否默认（Y是 N否）',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='字典数据表';

-- ----------------------------
-- Records of sys_dict_data
-- ----------------------------
BEGIN;
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '000000', 1, '男', '0', 'sys_user_sex', '', '', 'Y', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '性别男');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '000000', 2, '女', '1', 'sys_user_sex', '', '', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '性别女');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '000000', 3, '未知', '2', 'sys_user_sex', '', '', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '性别未知');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, '000000', 1, '显示', '0', 'sys_show_hide', '', 'primary', 'Y', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '显示菜单');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (5, '000000', 2, '隐藏', '1', 'sys_show_hide', '', 'danger', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '隐藏菜单');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (6, '000000', 1, '正常', '0', 'sys_normal_disable', '', 'primary', 'Y', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '正常状态');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (7, '000000', 2, '停用', '1', 'sys_normal_disable', '', 'danger', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '停用状态');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (12, '000000', 1, '是', 'Y', 'sys_yes_no', '', 'primary', 'Y', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '系统默认是');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (13, '000000', 2, '否', 'N', 'sys_yes_no', '', 'danger', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '系统默认否');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (14, '000000', 1, '通知', '1', 'sys_notice_type', '', 'warning', 'Y', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '通知');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (15, '000000', 2, '公告', '2', 'sys_notice_type', '', 'success', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '公告');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (16, '000000', 1, '正常', '0', 'sys_notice_status', '', 'primary', 'Y', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '正常状态');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (17, '000000', 2, '关闭', '1', 'sys_notice_status', '', 'danger', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '关闭状态');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (18, '000000', 1, '新增', '1', 'sys_oper_type', '', 'info', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '新增操作');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (19, '000000', 2, '修改', '2', 'sys_oper_type', '', 'info', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '修改操作');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (20, '000000', 3, '删除', '3', 'sys_oper_type', '', 'danger', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '删除操作');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (21, '000000', 4, '授权', '4', 'sys_oper_type', '', 'primary', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '授权操作');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (22, '000000', 5, '导出', '5', 'sys_oper_type', '', 'warning', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '导出操作');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (23, '000000', 6, '导入', '6', 'sys_oper_type', '', 'warning', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '导入操作');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (24, '000000', 7, '强退', '7', 'sys_oper_type', '', 'danger', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '强退操作');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (25, '000000', 8, '生成代码', '8', 'sys_oper_type', '', 'warning', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '生成操作');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (26, '000000', 9, '清空数据', '9', 'sys_oper_type', '', 'danger', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '清空操作');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (27, '000000', 1, '成功', '0', 'sys_common_status', '', 'primary', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '正常状态');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (28, '000000', 2, '失败', '1', 'sys_common_status', '', 'danger', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '停用状态');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (29, '000000', 99, '其他', '0', 'sys_oper_type', '', 'info', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '其他操作');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (30, '000000', 0, '密码认证', 'password', 'sys_grant_type', 'el-check-tag', 'default', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '密码认证');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (31, '000000', 0, '短信认证', 'sms', 'sys_grant_type', 'el-check-tag', 'default', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '短信认证');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (32, '000000', 0, '邮件认证', 'email', 'sys_grant_type', 'el-check-tag', 'default', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '邮件认证');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (33, '000000', 0, '小程序认证', 'xcx', 'sys_grant_type', 'el-check-tag', 'default', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '小程序认证');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (34, '000000', 0, '三方登录认证', 'social', 'sys_grant_type', 'el-check-tag', 'default', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '三方登录认证');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (35, '000000', 0, 'PC', 'pc', 'sys_device_type', '', 'default', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, 'PC');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (36, '000000', 0, '安卓', 'android', 'sys_device_type', '', 'default', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '安卓');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (37, '000000', 0, 'iOS', 'ios', 'sys_device_type', '', 'default', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, 'iOS');
INSERT INTO `sys_dict_data` (`dict_code`, `tenant_id`, `dict_sort`, `dict_label`, `dict_value`, `dict_type`, `css_class`, `list_class`, `is_default`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (38, '000000', 0, '小程序', 'xcx', 'sys_device_type', '', 'default', 'N', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '小程序');
COMMIT;

-- ----------------------------
-- Table structure for sys_dict_type
-- ----------------------------
DROP TABLE IF EXISTS `sys_dict_type`;
CREATE TABLE `sys_dict_type` (
  `dict_id` bigint NOT NULL COMMENT '字典主键',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '000000' COMMENT '租户编号',
  `dict_name` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典名称',
  `dict_type` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '字典类型',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`dict_id`),
  UNIQUE KEY `tenant_id` (`tenant_id`,`dict_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='字典类型表';

-- ----------------------------
-- Records of sys_dict_type
-- ----------------------------
BEGIN;
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '000000', '用户性别', 'sys_user_sex', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '用户性别列表');
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '000000', '菜单状态', 'sys_show_hide', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '菜单状态列表');
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '000000', '系统开关', 'sys_normal_disable', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '系统开关列表');
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (6, '000000', '系统是否', 'sys_yes_no', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '系统是否列表');
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (7, '000000', '通知类型', 'sys_notice_type', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '通知类型列表');
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (8, '000000', '通知状态', 'sys_notice_status', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '通知状态列表');
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (9, '000000', '操作类型', 'sys_oper_type', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '操作类型列表');
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (10, '000000', '系统状态', 'sys_common_status', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '登录状态列表');
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (11, '000000', '授权类型', 'sys_grant_type', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '认证授权类型');
INSERT INTO `sys_dict_type` (`dict_id`, `tenant_id`, `dict_name`, `dict_type`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (12, '000000', '设备类型', 'sys_device_type', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '客户端设备类型');
COMMIT;

-- ----------------------------
-- Table structure for sys_logininfor
-- ----------------------------
DROP TABLE IF EXISTS `sys_logininfor`;
CREATE TABLE `sys_logininfor` (
  `info_id` bigint NOT NULL COMMENT '访问ID',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '000000' COMMENT '租户编号',
  `user_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '用户账号',
  `client_key` varchar(32) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '客户端',
  `device_type` varchar(32) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '设备类型',
  `ipaddr` varchar(128) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '登录IP地址',
  `login_location` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '登录地点',
  `browser` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '浏览器类型',
  `os` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '操作系统',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '登录状态（0成功 1失败）',
  `msg` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '提示消息',
  `login_time` datetime DEFAULT NULL COMMENT '访问时间',
  PRIMARY KEY (`info_id`),
  KEY `idx_sys_logininfor_s` (`status`),
  KEY `idx_sys_logininfor_lt` (`login_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='系统访问记录';

-- ----------------------------
-- Records of sys_logininfor
-- ----------------------------
BEGIN;
INSERT INTO `sys_logininfor` (`info_id`, `tenant_id`, `user_name`, `client_key`, `device_type`, `ipaddr`, `login_location`, `browser`, `os`, `status`, `msg`, `login_time`) VALUES (1792945047041769473, '000000', 'admin', 'pc', 'pc', '127.0.0.1', '内网IP', 'Chrome', 'Linux', '0', '登录成功', '2024-05-21 23:46:25');
INSERT INTO `sys_logininfor` (`info_id`, `tenant_id`, `user_name`, `client_key`, `device_type`, `ipaddr`, `login_location`, `browser`, `os`, `status`, `msg`, `login_time`) VALUES (1793302437533913089, '000000', 'admin', 'pc', 'pc', '127.0.0.1', '内网IP', 'Chrome', 'Linux', '0', '登录成功', '2024-05-22 23:26:34');
COMMIT;

-- ----------------------------
-- Table structure for sys_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_menu`;
CREATE TABLE `sys_menu` (
  `menu_id` bigint NOT NULL COMMENT '菜单ID',
  `menu_name` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '菜单名称',
  `parent_id` bigint DEFAULT '0' COMMENT '父菜单ID',
  `order_num` int DEFAULT '0' COMMENT '显示顺序',
  `path` varchar(200) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '路由地址',
  `component` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '组件路径',
  `query_param` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '路由参数',
  `is_frame` int DEFAULT '1' COMMENT '是否为外链（0是 1否）',
  `is_cache` int DEFAULT '0' COMMENT '是否缓存（0缓存 1不缓存）',
  `menu_type` char(1) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '菜单类型（M目录 C菜单 F按钮）',
  `visible` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '显示状态（0显示 1隐藏）',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '菜单状态（0正常 1停用）',
  `perms` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '权限标识',
  `icon` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '#' COMMENT '菜单图标',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '备注',
  PRIMARY KEY (`menu_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='菜单权限表';

-- ----------------------------
-- Records of sys_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '系统管理', 0, 1, 'system', NULL, '', 1, 0, 'M', '0', '0', '', 'system', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '系统管理目录');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '系统监控', 0, 3, 'monitor', NULL, '', 1, 0, 'M', '0', '0', '', 'monitor', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '系统监控目录');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '系统工具', 0, 4, 'tool', NULL, '', 1, 0, 'M', '0', '0', '', 'tool', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '系统工具目录');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (5, '测试菜单', 0, 5, 'demo', NULL, '', 1, 0, 'M', '0', '0', '', 'star', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '测试菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (6, '租户管理', 0, 2, 'tenant', NULL, '', 1, 0, 'M', '0', '0', '', 'chart', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '租户管理目录');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (100, '用户管理', 1, 1, 'user', 'system/user/index', '', 1, 0, 'C', '0', '0', 'system:user:list', 'user', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '用户管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (101, '角色管理', 1, 2, 'role', 'system/role/index', '', 1, 0, 'C', '0', '0', 'system:role:list', 'peoples', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '角色管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (102, '菜单管理', 1, 3, 'menu', 'system/menu/index', '', 1, 0, 'C', '0', '0', 'system:menu:list', 'tree-table', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '菜单管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (103, '部门管理', 1, 4, 'dept', 'system/dept/index', '', 1, 0, 'C', '0', '0', 'system:dept:list', 'tree', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '部门管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (104, '岗位管理', 1, 5, 'post', 'system/post/index', '', 1, 0, 'C', '0', '0', 'system:post:list', 'post', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '岗位管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (105, '字典管理', 1, 6, 'dict', 'system/dict/index', '', 1, 0, 'C', '0', '0', 'system:dict:list', 'dict', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '字典管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (106, '参数设置', 1, 7, 'config', 'system/config/index', '', 1, 0, 'C', '0', '0', 'system:config:list', 'edit', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '参数设置菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (107, '通知公告', 1, 8, 'notice', 'system/notice/index', '', 1, 0, 'C', '0', '0', 'system:notice:list', 'message', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '通知公告菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (108, '日志管理', 1, 9, 'log', '', '', 1, 0, 'M', '0', '0', '', 'log', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '日志管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (109, '在线用户', 2, 1, 'online', 'monitor/online/index', '', 1, 0, 'C', '0', '0', 'monitor:online:list', 'online', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '在线用户菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (113, '缓存监控', 2, 5, 'cache', 'monitor/cache/index', '', 1, 0, 'C', '0', '0', 'monitor:cache:list', 'redis', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '缓存监控菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (114, '表单构建', 3, 1, 'build', 'tool/build/index', '', 1, 0, 'C', '0', '0', 'tool:build:list', 'build', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '表单构建菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (115, '代码生成', 3, 2, 'gen', 'tool/gen/index', '', 1, 0, 'C', '0', '0', 'tool:gen:list', 'code', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '代码生成菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (117, 'Admin监控', 2, 5, 'Admin', 'monitor/admin/index', '', 1, 0, 'C', '0', '0', 'monitor:admin:list', 'dashboard', 103, 1, '2024-05-21 23:41:31', NULL, NULL, 'Admin监控菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (118, '文件管理', 1, 10, 'oss', 'system/oss/index', '', 1, 0, 'C', '0', '0', 'system:oss:list', 'upload', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '文件管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (120, '任务调度中心', 2, 6, 'snailjob', 'monitor/snailjob/index', '', 1, 0, 'C', '0', '0', 'monitor:snailjob:list', 'job', 103, 1, '2024-05-21 23:41:31', NULL, NULL, 'SnailJob控制台菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (121, '租户管理', 6, 1, 'tenant', 'system/tenant/index', '', 1, 0, 'C', '0', '0', 'system:tenant:list', 'list', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '租户管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (122, '租户套餐管理', 6, 2, 'tenantPackage', 'system/tenantPackage/index', '', 1, 0, 'C', '0', '0', 'system:tenantPackage:list', 'form', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '租户套餐管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (123, '客户端管理', 1, 11, 'client', 'system/client/index', '', 1, 0, 'C', '0', '0', 'system:client:list', 'international', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '客户端管理菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (500, '操作日志', 108, 1, 'operlog', 'monitor/operlog/index', '', 1, 0, 'C', '0', '0', 'monitor:operlog:list', 'form', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '操作日志菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (501, '登录日志', 108, 2, 'logininfor', 'monitor/logininfor/index', '', 1, 0, 'C', '0', '0', 'monitor:logininfor:list', 'logininfor', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '登录日志菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1001, '用户查询', 100, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:user:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1002, '用户新增', 100, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:user:add', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1003, '用户修改', 100, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:user:edit', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1004, '用户删除', 100, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:user:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1005, '用户导出', 100, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:user:export', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1006, '用户导入', 100, 6, '', '', '', 1, 0, 'F', '0', '0', 'system:user:import', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1007, '重置密码', 100, 7, '', '', '', 1, 0, 'F', '0', '0', 'system:user:resetPwd', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1008, '角色查询', 101, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:role:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1009, '角色新增', 101, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:role:add', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1010, '角色修改', 101, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:role:edit', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1011, '角色删除', 101, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:role:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1012, '角色导出', 101, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:role:export', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1013, '菜单查询', 102, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1014, '菜单新增', 102, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:add', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1015, '菜单修改', 102, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:edit', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1016, '菜单删除', 102, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:menu:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1017, '部门查询', 103, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1018, '部门新增', 103, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:add', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1019, '部门修改', 103, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:edit', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1020, '部门删除', 103, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:dept:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1021, '岗位查询', 104, 1, '', '', '', 1, 0, 'F', '0', '0', 'system:post:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1022, '岗位新增', 104, 2, '', '', '', 1, 0, 'F', '0', '0', 'system:post:add', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1023, '岗位修改', 104, 3, '', '', '', 1, 0, 'F', '0', '0', 'system:post:edit', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1024, '岗位删除', 104, 4, '', '', '', 1, 0, 'F', '0', '0', 'system:post:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1025, '岗位导出', 104, 5, '', '', '', 1, 0, 'F', '0', '0', 'system:post:export', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1026, '字典查询', 105, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1027, '字典新增', 105, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:add', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1028, '字典修改', 105, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:edit', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1029, '字典删除', 105, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1030, '字典导出', 105, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:dict:export', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1031, '参数查询', 106, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1032, '参数新增', 106, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:add', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1033, '参数修改', 106, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:edit', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1034, '参数删除', 106, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1035, '参数导出', 106, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:config:export', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1036, '公告查询', 107, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1037, '公告新增', 107, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:add', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1038, '公告修改', 107, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:edit', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1039, '公告删除', 107, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:notice:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1040, '操作查询', 500, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1041, '操作删除', 500, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1042, '日志导出', 500, 4, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:operlog:export', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1043, '登录查询', 501, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1044, '登录删除', 501, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1045, '日志导出', 501, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:export', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1046, '在线查询', 109, 1, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1047, '批量强退', 109, 2, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:batchLogout', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1048, '单条强退', 109, 3, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:online:forceLogout', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1050, '账户解锁', 501, 4, '#', '', '', 1, 0, 'F', '0', '0', 'monitor:logininfor:unlock', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1055, '生成查询', 115, 1, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1056, '生成修改', 115, 2, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:edit', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1057, '生成删除', 115, 3, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1058, '导入代码', 115, 2, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:import', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1059, '预览代码', 115, 4, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:preview', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1060, '生成代码', 115, 5, '#', '', '', 1, 0, 'F', '0', '0', 'tool:gen:code', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1061, '客户端管理查询', 123, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:client:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1062, '客户端管理新增', 123, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:client:add', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1063, '客户端管理修改', 123, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:client:edit', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1064, '客户端管理删除', 123, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:client:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1065, '客户端管理导出', 123, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:client:export', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1500, '测试单表', 5, 1, 'demo', 'demo/demo/index', '', 1, 0, 'C', '0', '0', 'demo:demo:list', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '测试单表菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1501, '测试单表查询', 1500, 1, '#', '', '', 1, 0, 'F', '0', '0', 'demo:demo:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1502, '测试单表新增', 1500, 2, '#', '', '', 1, 0, 'F', '0', '0', 'demo:demo:add', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1503, '测试单表修改', 1500, 3, '#', '', '', 1, 0, 'F', '0', '0', 'demo:demo:edit', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1504, '测试单表删除', 1500, 4, '#', '', '', 1, 0, 'F', '0', '0', 'demo:demo:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1505, '测试单表导出', 1500, 5, '#', '', '', 1, 0, 'F', '0', '0', 'demo:demo:export', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1506, '测试树表', 5, 1, 'tree', 'demo/tree/index', '', 1, 0, 'C', '0', '0', 'demo:tree:list', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '测试树表菜单');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1507, '测试树表查询', 1506, 1, '#', '', '', 1, 0, 'F', '0', '0', 'demo:tree:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1508, '测试树表新增', 1506, 2, '#', '', '', 1, 0, 'F', '0', '0', 'demo:tree:add', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1509, '测试树表修改', 1506, 3, '#', '', '', 1, 0, 'F', '0', '0', 'demo:tree:edit', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1510, '测试树表删除', 1506, 4, '#', '', '', 1, 0, 'F', '0', '0', 'demo:tree:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1511, '测试树表导出', 1506, 5, '#', '', '', 1, 0, 'F', '0', '0', 'demo:tree:export', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1600, '文件查询', 118, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:oss:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1601, '文件上传', 118, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:oss:upload', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1602, '文件下载', 118, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:oss:download', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1603, '文件删除', 118, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:oss:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1606, '租户查询', 121, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenant:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1607, '租户新增', 121, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenant:add', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1608, '租户修改', 121, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenant:edit', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1609, '租户删除', 121, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenant:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1610, '租户导出', 121, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenant:export', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1611, '租户套餐查询', 122, 1, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenantPackage:query', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1612, '租户套餐新增', 122, 2, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenantPackage:add', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1613, '租户套餐修改', 122, 3, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenantPackage:edit', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1614, '租户套餐删除', 122, 4, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenantPackage:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1615, '租户套餐导出', 122, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:tenantPackage:export', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1620, '配置列表', 118, 5, '#', '', '', 1, 0, 'F', '0', '0', 'system:ossConfig:list', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1621, '配置添加', 118, 6, '#', '', '', 1, 0, 'F', '0', '0', 'system:ossConfig:add', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1622, '配置编辑', 118, 6, '#', '', '', 1, 0, 'F', '0', '0', 'system:ossConfig:edit', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_menu` (`menu_id`, `menu_name`, `parent_id`, `order_num`, `path`, `component`, `query_param`, `is_frame`, `is_cache`, `menu_type`, `visible`, `status`, `perms`, `icon`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1623, '配置删除', 118, 6, '#', '', '', 1, 0, 'F', '0', '0', 'system:ossConfig:remove', '#', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
COMMIT;

-- ----------------------------
-- Table structure for sys_notice
-- ----------------------------
DROP TABLE IF EXISTS `sys_notice`;
CREATE TABLE `sys_notice` (
  `notice_id` bigint NOT NULL COMMENT '公告ID',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '000000' COMMENT '租户编号',
  `notice_title` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '公告标题',
  `notice_type` char(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '公告类型（1通知 2公告）',
  `notice_content` longblob COMMENT '公告内容',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '公告状态（0正常 1关闭）',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`notice_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='通知公告表';

-- ----------------------------
-- Records of sys_notice
-- ----------------------------
BEGIN;
INSERT INTO `sys_notice` (`notice_id`, `tenant_id`, `notice_title`, `notice_type`, `notice_content`, `status`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '000000', '温馨提醒：2018-07-01 新版本发布啦', '2', 0x3C703EE696B0E78988E69CACE58685E5AEB93131313C2F703E, '0', 103, 1, '2024-05-21 23:41:32', 1, '2024-05-21 23:49:34', '管理员');
INSERT INTO `sys_notice` (`notice_id`, `tenant_id`, `notice_title`, `notice_type`, `notice_content`, `status`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '000000', '维护通知：2018-07-01 系统凌晨维护', '1', 0xE7BBB4E68AA4E58685E5AEB9, '0', 103, 1, '2024-05-21 23:41:32', NULL, NULL, '管理员');
COMMIT;

-- ----------------------------
-- Table structure for sys_oper_log
-- ----------------------------
DROP TABLE IF EXISTS `sys_oper_log`;
CREATE TABLE `sys_oper_log` (
  `oper_id` bigint NOT NULL COMMENT '日志主键',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '000000' COMMENT '租户编号',
  `title` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '模块标题',
  `business_type` int DEFAULT '0' COMMENT '业务类型（0其它 1新增 2修改 3删除）',
  `method` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '方法名称',
  `request_method` varchar(10) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '请求方式',
  `operator_type` int DEFAULT '0' COMMENT '操作类别（0其它 1后台用户 2手机端用户）',
  `oper_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '操作人员',
  `dept_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '部门名称',
  `oper_url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '请求URL',
  `oper_ip` varchar(128) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '主机地址',
  `oper_location` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '操作地点',
  `oper_param` varchar(2000) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '请求参数',
  `json_result` varchar(2000) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '返回参数',
  `status` int DEFAULT '0' COMMENT '操作状态（0正常 1异常）',
  `error_msg` varchar(2000) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '错误消息',
  `oper_time` datetime DEFAULT NULL COMMENT '操作时间',
  `cost_time` bigint DEFAULT '0' COMMENT '消耗时间',
  PRIMARY KEY (`oper_id`),
  KEY `idx_sys_oper_log_bt` (`business_type`),
  KEY `idx_sys_oper_log_s` (`status`),
  KEY `idx_sys_oper_log_ot` (`oper_time`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='操作日志记录';

-- ----------------------------
-- Records of sys_oper_log
-- ----------------------------
BEGIN;
INSERT INTO `sys_oper_log` (`oper_id`, `tenant_id`, `title`, `business_type`, `method`, `request_method`, `operator_type`, `oper_name`, `dept_name`, `oper_url`, `oper_ip`, `oper_location`, `oper_param`, `json_result`, `status`, `error_msg`, `oper_time`, `cost_time`) VALUES (1792945598634688513, '000000', '租户', 2, 'org.dromara.system.controller.system.SysTenantController.syncTenantPackage()', 'GET', 1, 'admin', '研发部门', '/system/tenant/syncTenantPackage', '127.0.0.1', '内网IP', '{\"tenantId\":\"000000\"}', '', 1, 'syncTenantPackage.packageId: 套餐ID不能为空', '2024-05-21 23:48:37', 14);
INSERT INTO `sys_oper_log` (`oper_id`, `tenant_id`, `title`, `business_type`, `method`, `request_method`, `operator_type`, `oper_name`, `dept_name`, `oper_url`, `oper_ip`, `oper_location`, `oper_param`, `json_result`, `status`, `error_msg`, `oper_time`, `cost_time`) VALUES (1792945615781003265, '000000', '租户', 2, 'org.dromara.system.controller.system.SysTenantController.syncTenantPackage()', 'GET', 1, 'admin', '研发部门', '/system/tenant/syncTenantPackage', '127.0.0.1', '内网IP', '{\"tenantId\":\"000000\"}', '', 1, 'syncTenantPackage.packageId: 套餐ID不能为空', '2024-05-21 23:48:41', 1);
INSERT INTO `sys_oper_log` (`oper_id`, `tenant_id`, `title`, `business_type`, `method`, `request_method`, `operator_type`, `oper_name`, `dept_name`, `oper_url`, `oper_ip`, `oper_location`, `oper_param`, `json_result`, `status`, `error_msg`, `oper_time`, `cost_time`) VALUES (1792945839811362817, '000000', '通知公告', 2, 'org.dromara.system.controller.system.SysNoticeController.edit()', 'PUT', 1, 'admin', '研发部门', '/system/notice', '127.0.0.1', '内网IP', '{\"createDept\":null,\"createBy\":1,\"createTime\":\"2024-05-21 23:41:32\",\"updateBy\":null,\"updateTime\":null,\"noticeId\":1,\"noticeTitle\":\"温馨提醒：2018-07-01 新版本发布啦\",\"noticeType\":\"2\",\"noticeContent\":\"<p>新版本内容111</p>\",\"status\":\"0\",\"remark\":\"管理员\",\"createByName\":\"admin\"}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2024-05-21 23:49:34', 32);
INSERT INTO `sys_oper_log` (`oper_id`, `tenant_id`, `title`, `business_type`, `method`, `request_method`, `operator_type`, `oper_name`, `dept_name`, `oper_url`, `oper_ip`, `oper_location`, `oper_param`, `json_result`, `status`, `error_msg`, `oper_time`, `cost_time`) VALUES (1793302718300622850, '000000', '菜单管理', 3, 'org.dromara.system.controller.system.SysMenuController.remove()', 'DELETE', 1, 'admin', '研发部门', '/system/menu/4', '127.0.0.1', '内网IP', '{}', '{\"code\":200,\"msg\":\"操作成功\",\"data\":null}', 0, '', '2024-05-22 23:27:41', 49);
COMMIT;

-- ----------------------------
-- Table structure for sys_oss
-- ----------------------------
DROP TABLE IF EXISTS `sys_oss`;
CREATE TABLE `sys_oss` (
  `oss_id` bigint NOT NULL COMMENT '对象存储主键',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '000000' COMMENT '租户编号',
  `file_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '文件名',
  `original_name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '原名',
  `file_suffix` varchar(10) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '文件后缀名',
  `url` varchar(500) COLLATE utf8mb4_general_ci NOT NULL COMMENT 'URL地址',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `create_by` bigint DEFAULT NULL COMMENT '上传人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新人',
  `service` varchar(20) COLLATE utf8mb4_general_ci NOT NULL DEFAULT 'minio' COMMENT '服务商',
  PRIMARY KEY (`oss_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='OSS对象存储表';

-- ----------------------------
-- Records of sys_oss
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_oss_config
-- ----------------------------
DROP TABLE IF EXISTS `sys_oss_config`;
CREATE TABLE `sys_oss_config` (
  `oss_config_id` bigint NOT NULL COMMENT '主键',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '000000' COMMENT '租户编号',
  `config_key` varchar(20) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '' COMMENT '配置key',
  `access_key` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT 'accessKey',
  `secret_key` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '秘钥',
  `bucket_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '桶名称',
  `prefix` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '前缀',
  `endpoint` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '访问站点',
  `domain` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '自定义域名',
  `is_https` char(1) COLLATE utf8mb4_general_ci DEFAULT 'N' COMMENT '是否https（Y=是,N=否）',
  `region` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '域',
  `access_policy` char(1) COLLATE utf8mb4_general_ci NOT NULL DEFAULT '1' COMMENT '桶权限类型(0=private 1=public 2=custom)',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '1' COMMENT '是否默认（0=是,1=否）',
  `ext1` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '扩展字段',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`oss_config_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='对象存储配置表';

-- ----------------------------
-- Records of sys_oss_config
-- ----------------------------
BEGIN;
INSERT INTO `sys_oss_config` (`oss_config_id`, `tenant_id`, `config_key`, `access_key`, `secret_key`, `bucket_name`, `prefix`, `endpoint`, `domain`, `is_https`, `region`, `access_policy`, `status`, `ext1`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '000000', 'minio', 'my', 'my123', 'my', '', '127.0.0.1:9000', '', 'N', '', '1', '0', '', 103, 1, '2024-05-21 23:41:32', 1, '2024-05-21 23:41:32', NULL);
INSERT INTO `sys_oss_config` (`oss_config_id`, `tenant_id`, `config_key`, `access_key`, `secret_key`, `bucket_name`, `prefix`, `endpoint`, `domain`, `is_https`, `region`, `access_policy`, `status`, `ext1`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '000000', 'qiniu', 'XXXXXXXXXXXXXXX', 'XXXXXXXXXXXXXXX', 'my', '', 's3-cn-north-1.qiniucs.com', '', 'N', '', '1', '1', '', 103, 1, '2024-05-21 23:41:32', 1, '2024-05-21 23:41:32', NULL);
INSERT INTO `sys_oss_config` (`oss_config_id`, `tenant_id`, `config_key`, `access_key`, `secret_key`, `bucket_name`, `prefix`, `endpoint`, `domain`, `is_https`, `region`, `access_policy`, `status`, `ext1`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '000000', 'aliyun', 'XXXXXXXXXXXXXXX', 'XXXXXXXXXXXXXXX', 'my', '', 'oss-cn-beijing.aliyuncs.com', '', 'N', '', '1', '1', '', 103, 1, '2024-05-21 23:41:32', 1, '2024-05-21 23:41:32', NULL);
INSERT INTO `sys_oss_config` (`oss_config_id`, `tenant_id`, `config_key`, `access_key`, `secret_key`, `bucket_name`, `prefix`, `endpoint`, `domain`, `is_https`, `region`, `access_policy`, `status`, `ext1`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, '000000', 'qcloud', 'XXXXXXXXXXXXXXX', 'XXXXXXXXXXXXXXX', 'my-1250000000', '', 'cos.ap-beijing.myqcloud.com', '', 'N', 'ap-beijing', '1', '1', '', 103, 1, '2024-05-21 23:41:32', 1, '2024-05-21 23:41:32', NULL);
INSERT INTO `sys_oss_config` (`oss_config_id`, `tenant_id`, `config_key`, `access_key`, `secret_key`, `bucket_name`, `prefix`, `endpoint`, `domain`, `is_https`, `region`, `access_policy`, `status`, `ext1`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (5, '000000', 'image', 'my', 'my123', 'my', 'image', '127.0.0.1:9000', '', 'N', '', '1', '1', '', 103, 1, '2024-05-21 23:41:32', 1, '2024-05-21 23:41:32', NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_post`;
CREATE TABLE `sys_post` (
  `post_id` bigint NOT NULL COMMENT '岗位ID',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '000000' COMMENT '租户编号',
  `dept_id` bigint NOT NULL COMMENT '部门id',
  `post_code` varchar(64) COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位编码',
  `post_category` varchar(100) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '岗位类别编码',
  `post_name` varchar(50) COLLATE utf8mb4_general_ci NOT NULL COMMENT '岗位名称',
  `post_sort` int NOT NULL COMMENT '显示顺序',
  `status` char(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '状态（0正常 1停用）',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`post_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='岗位信息表';

-- ----------------------------
-- Records of sys_post
-- ----------------------------
BEGIN;
INSERT INTO `sys_post` (`post_id`, `tenant_id`, `dept_id`, `post_code`, `post_category`, `post_name`, `post_sort`, `status`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '000000', 103, 'ceo', NULL, '董事长', 1, '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_post` (`post_id`, `tenant_id`, `dept_id`, `post_code`, `post_category`, `post_name`, `post_sort`, `status`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (2, '000000', 100, 'se', NULL, '项目经理', 2, '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_post` (`post_id`, `tenant_id`, `dept_id`, `post_code`, `post_category`, `post_name`, `post_sort`, `status`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '000000', 100, 'hr', NULL, '人力资源', 3, '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_post` (`post_id`, `tenant_id`, `dept_id`, `post_code`, `post_category`, `post_name`, `post_sort`, `status`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, '000000', 100, 'user', NULL, '普通员工', 4, '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
COMMIT;

-- ----------------------------
-- Table structure for sys_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_role`;
CREATE TABLE `sys_role` (
  `role_id` bigint NOT NULL COMMENT '角色ID',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '000000' COMMENT '租户编号',
  `role_name` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色名称',
  `role_key` varchar(100) COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色权限字符串',
  `role_sort` int NOT NULL COMMENT '显示顺序',
  `data_scope` char(1) COLLATE utf8mb4_general_ci DEFAULT '1' COMMENT '数据范围（1：全部数据权限 2：自定数据权限 3：本部门数据权限 4：本部门及以下数据权限）',
  `menu_check_strictly` tinyint(1) DEFAULT '1' COMMENT '菜单树选择项是否关联显示',
  `dept_check_strictly` tinyint(1) DEFAULT '1' COMMENT '部门树选择项是否关联显示',
  `status` char(1) COLLATE utf8mb4_general_ci NOT NULL COMMENT '角色状态（0正常 1停用）',
  `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='角色信息表';

-- ----------------------------
-- Records of sys_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_role` (`role_id`, `tenant_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `menu_check_strictly`, `dept_check_strictly`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '000000', '超级管理员', 'superadmin', 1, '1', 1, 1, '0', '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '超级管理员');
INSERT INTO `sys_role` (`role_id`, `tenant_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `menu_check_strictly`, `dept_check_strictly`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '000000', '本部门及以下', 'test1', 3, '4', 1, 1, '0', '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
INSERT INTO `sys_role` (`role_id`, `tenant_id`, `role_name`, `role_key`, `role_sort`, `data_scope`, `menu_check_strictly`, `dept_check_strictly`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, '000000', '仅本人', 'test2', 4, '5', 1, 1, '0', '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL, '');
COMMIT;

-- ----------------------------
-- Table structure for sys_role_dept
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_dept`;
CREATE TABLE `sys_role_dept` (
  `role_id` bigint NOT NULL COMMENT '角色ID',
  `dept_id` bigint NOT NULL COMMENT '部门ID',
  PRIMARY KEY (`role_id`,`dept_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='角色和部门关联表';

-- ----------------------------
-- Records of sys_role_dept
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_role_menu
-- ----------------------------
DROP TABLE IF EXISTS `sys_role_menu`;
CREATE TABLE `sys_role_menu` (
  `role_id` bigint NOT NULL COMMENT '角色ID',
  `menu_id` bigint NOT NULL COMMENT '菜单ID',
  PRIMARY KEY (`role_id`,`menu_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='角色和菜单关联表';

-- ----------------------------
-- Records of sys_role_menu
-- ----------------------------
BEGIN;
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 5);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 100);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 101);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 102);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 103);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 104);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 105);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 106);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 107);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 108);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 500);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 501);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1001);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1002);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1003);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1004);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1005);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1006);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1007);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1008);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1009);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1010);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1011);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1012);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1013);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1014);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1015);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1016);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1017);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1018);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1019);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1020);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1021);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1022);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1023);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1024);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1025);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1026);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1027);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1028);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1029);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1030);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1031);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1032);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1033);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1034);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1035);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1036);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1037);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1038);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1039);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1040);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1041);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1042);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1043);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1044);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1045);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1500);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1501);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1502);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1503);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1504);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1505);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1506);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1507);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1508);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1509);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1510);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (3, 1511);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 5);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 1500);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 1501);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 1502);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 1503);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 1504);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 1505);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 1506);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 1507);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 1508);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 1509);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 1510);
INSERT INTO `sys_role_menu` (`role_id`, `menu_id`) VALUES (4, 1511);
COMMIT;

-- ----------------------------
-- Table structure for sys_social
-- ----------------------------
DROP TABLE IF EXISTS `sys_social`;
CREATE TABLE `sys_social` (
  `id` bigint NOT NULL COMMENT '主键',
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '租户id',
  `auth_id` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '平台+平台唯一id',
  `source` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户来源',
  `open_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '平台编号唯一id',
  `user_name` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '登录账号',
  `nick_name` varchar(30) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '用户昵称',
  `email` varchar(255) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '用户邮箱',
  `avatar` varchar(500) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '头像地址',
  `access_token` varchar(255) COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户的授权令牌',
  `expire_in` int DEFAULT NULL COMMENT '用户的授权令牌的有效期，部分平台可能没有',
  `refresh_token` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '刷新令牌，部分平台可能没有',
  `access_code` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '平台的授权信息，部分平台可能没有',
  `union_id` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '用户的 unionid',
  `scope` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '授予的权限，部分平台可能没有',
  `token_type` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '个别平台的授权信息，部分平台可能没有',
  `id_token` varchar(2000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'id token，部分平台可能没有',
  `mac_algorithm` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '小米平台用户的附带属性，部分平台可能没有',
  `mac_key` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '小米平台用户的附带属性，部分平台可能没有',
  `code` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '用户的授权code，部分平台可能没有',
  `oauth_token` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'Twitter平台用户的附带属性，部分平台可能没有',
  `oauth_token_secret` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'Twitter平台用户的附带属性，部分平台可能没有',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='社会化关系表';

-- ----------------------------
-- Records of sys_social
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_tenant
-- ----------------------------
DROP TABLE IF EXISTS `sys_tenant`;
CREATE TABLE `sys_tenant` (
  `id` bigint NOT NULL COMMENT 'id',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci NOT NULL COMMENT '租户编号',
  `contact_user_name` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系人',
  `contact_phone` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '联系电话',
  `company_name` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '企业名称',
  `license_number` varchar(30) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '统一社会信用代码',
  `address` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '地址',
  `intro` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '企业简介',
  `domain` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '域名',
  `remark` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  `package_id` bigint DEFAULT NULL COMMENT '租户套餐编号',
  `expire_time` datetime DEFAULT NULL COMMENT '过期时间',
  `account_count` int DEFAULT '-1' COMMENT '用户数量（-1不限制）',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '租户状态（0正常 1停用）',
  `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='租户表';

-- ----------------------------
-- Records of sys_tenant
-- ----------------------------
BEGIN;
INSERT INTO `sys_tenant` (`id`, `tenant_id`, `contact_user_name`, `contact_phone`, `company_name`, `license_number`, `address`, `intro`, `domain`, `remark`, `package_id`, `expire_time`, `account_count`, `status`, `del_flag`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`) VALUES (1, '000000', '管理组', '15888888888', 'XXX有限公司', NULL, NULL, '多租户通用后台管理管理系统', NULL, NULL, NULL, NULL, -1, '0', '0', 103, 1, '2024-05-21 23:41:31', NULL, NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_tenant_package
-- ----------------------------
DROP TABLE IF EXISTS `sys_tenant_package`;
CREATE TABLE `sys_tenant_package` (
  `package_id` bigint NOT NULL COMMENT '租户套餐id',
  `package_name` varchar(20) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '套餐名称',
  `menu_ids` varchar(3000) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '关联菜单id',
  `remark` varchar(200) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  `menu_check_strictly` tinyint(1) DEFAULT '1' COMMENT '菜单树选择项是否关联显示',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '状态（0正常 1停用）',
  `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`package_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='租户套餐表';

-- ----------------------------
-- Records of sys_tenant_package
-- ----------------------------
BEGIN;
COMMIT;

-- ----------------------------
-- Table structure for sys_user
-- ----------------------------
DROP TABLE IF EXISTS `sys_user`;
CREATE TABLE `sys_user` (
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '000000' COMMENT '租户编号',
  `dept_id` bigint DEFAULT NULL COMMENT '部门ID',
  `user_name` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户账号',
  `nick_name` varchar(30) COLLATE utf8mb4_general_ci NOT NULL COMMENT '用户昵称',
  `user_type` varchar(10) COLLATE utf8mb4_general_ci DEFAULT 'sys_user' COMMENT '用户类型（sys_user系统用户）',
  `email` varchar(50) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '用户邮箱',
  `phonenumber` varchar(11) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '手机号码',
  `sex` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '用户性别（0男 1女 2未知）',
  `avatar` bigint DEFAULT NULL COMMENT '头像地址',
  `password` varchar(100) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '密码',
  `status` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '帐号状态（0正常 1停用）',
  `del_flag` char(1) COLLATE utf8mb4_general_ci DEFAULT '0' COMMENT '删除标志（0代表存在 2代表删除）',
  `login_ip` varchar(128) COLLATE utf8mb4_general_ci DEFAULT '' COMMENT '最后登录IP',
  `login_date` datetime DEFAULT NULL COMMENT '最后登录时间',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_by` bigint DEFAULT NULL COMMENT '创建者',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新者',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `remark` varchar(500) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '备注',
  PRIMARY KEY (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='用户信息表';

-- ----------------------------
-- Records of sys_user
-- ----------------------------
BEGIN;
INSERT INTO `sys_user` (`user_id`, `tenant_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `status`, `del_flag`, `login_ip`, `login_date`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (1, '000000', 103, 'admin', '超级管理员', 'sys_user', 'crazyLionLi@163.com', '15888888888', '1', NULL, '$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2', '0', '0', '127.0.0.1', '2024-05-22 23:26:34', 103, 1, '2024-05-21 23:41:31', 1, '2024-05-22 23:26:34', '管理员');
INSERT INTO `sys_user` (`user_id`, `tenant_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `status`, `del_flag`, `login_ip`, `login_date`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (3, '000000', 108, 'test', '本部门及以下 密码666666', 'sys_user', '', '', '0', NULL, '$2a$10$b8yUzN0C71sbz.PhNOCgJe.Tu1yWC3RNrTyjSQ8p1W0.aaUXUJ.Ne', '0', '0', '127.0.0.1', '2024-05-21 23:41:31', 103, 1, '2024-05-21 23:41:31', 3, '2024-05-21 23:41:31', NULL);
INSERT INTO `sys_user` (`user_id`, `tenant_id`, `dept_id`, `user_name`, `nick_name`, `user_type`, `email`, `phonenumber`, `sex`, `avatar`, `password`, `status`, `del_flag`, `login_ip`, `login_date`, `create_dept`, `create_by`, `create_time`, `update_by`, `update_time`, `remark`) VALUES (4, '000000', 102, 'test1', '仅本人 密码666666', 'sys_user', '', '', '0', NULL, '$2a$10$b8yUzN0C71sbz.PhNOCgJe.Tu1yWC3RNrTyjSQ8p1W0.aaUXUJ.Ne', '0', '0', '127.0.0.1', '2024-05-21 23:41:31', 103, 1, '2024-05-21 23:41:31', 4, '2024-05-21 23:41:31', NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_user_post
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_post`;
CREATE TABLE `sys_user_post` (
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `post_id` bigint NOT NULL COMMENT '岗位ID',
  PRIMARY KEY (`user_id`,`post_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='用户与岗位关联表';

-- ----------------------------
-- Records of sys_user_post
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_post` (`user_id`, `post_id`) VALUES (1, 1);
COMMIT;

-- ----------------------------
-- Table structure for sys_user_role
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_role`;
CREATE TABLE `sys_user_role` (
  `user_id` bigint NOT NULL COMMENT '用户ID',
  `role_id` bigint NOT NULL COMMENT '角色ID',
  PRIMARY KEY (`user_id`,`role_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='用户和角色关联表';

-- ----------------------------
-- Records of sys_user_role
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (1, 1);
INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (3, 3);
INSERT INTO `sys_user_role` (`user_id`, `role_id`) VALUES (4, 4);
COMMIT;

-- ----------------------------
-- Table structure for test_demo
-- ----------------------------
DROP TABLE IF EXISTS `test_demo`;
CREATE TABLE `test_demo` (
  `id` bigint NOT NULL COMMENT '主键',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '000000' COMMENT '租户编号',
  `dept_id` bigint DEFAULT NULL COMMENT '部门id',
  `user_id` bigint DEFAULT NULL COMMENT '用户id',
  `order_num` int DEFAULT '0' COMMENT '排序号',
  `test_key` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT 'key键',
  `value` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '值',
  `version` int DEFAULT '0' COMMENT '版本',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `create_by` bigint DEFAULT NULL COMMENT '创建人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新人',
  `del_flag` int DEFAULT '0' COMMENT '删除标志',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='测试单表';

-- ----------------------------
-- Records of test_demo
-- ----------------------------
BEGIN;
INSERT INTO `test_demo` (`id`, `tenant_id`, `dept_id`, `user_id`, `order_num`, `test_key`, `value`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (1, '000000', 102, 4, 1, '测试数据权限', '测试', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_demo` (`id`, `tenant_id`, `dept_id`, `user_id`, `order_num`, `test_key`, `value`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (2, '000000', 102, 3, 2, '子节点1', '111', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_demo` (`id`, `tenant_id`, `dept_id`, `user_id`, `order_num`, `test_key`, `value`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (3, '000000', 102, 3, 3, '子节点2', '222', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_demo` (`id`, `tenant_id`, `dept_id`, `user_id`, `order_num`, `test_key`, `value`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (4, '000000', 108, 4, 4, '测试数据', 'demo', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_demo` (`id`, `tenant_id`, `dept_id`, `user_id`, `order_num`, `test_key`, `value`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (5, '000000', 108, 3, 13, '子节点11', '1111', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_demo` (`id`, `tenant_id`, `dept_id`, `user_id`, `order_num`, `test_key`, `value`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (6, '000000', 108, 3, 12, '子节点22', '2222', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_demo` (`id`, `tenant_id`, `dept_id`, `user_id`, `order_num`, `test_key`, `value`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (7, '000000', 108, 3, 11, '子节点33', '3333', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_demo` (`id`, `tenant_id`, `dept_id`, `user_id`, `order_num`, `test_key`, `value`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (8, '000000', 108, 3, 10, '子节点44', '4444', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_demo` (`id`, `tenant_id`, `dept_id`, `user_id`, `order_num`, `test_key`, `value`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (9, '000000', 108, 3, 9, '子节点55', '5555', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_demo` (`id`, `tenant_id`, `dept_id`, `user_id`, `order_num`, `test_key`, `value`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (10, '000000', 108, 3, 8, '子节点66', '6666', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_demo` (`id`, `tenant_id`, `dept_id`, `user_id`, `order_num`, `test_key`, `value`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (11, '000000', 108, 3, 7, '子节点77', '7777', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_demo` (`id`, `tenant_id`, `dept_id`, `user_id`, `order_num`, `test_key`, `value`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (12, '000000', 108, 3, 6, '子节点88', '8888', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_demo` (`id`, `tenant_id`, `dept_id`, `user_id`, `order_num`, `test_key`, `value`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (13, '000000', 108, 3, 5, '子节点99', '9999', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
COMMIT;

-- ----------------------------
-- Table structure for test_tree
-- ----------------------------
DROP TABLE IF EXISTS `test_tree`;
CREATE TABLE `test_tree` (
  `id` bigint NOT NULL COMMENT '主键',
  `tenant_id` varchar(20) COLLATE utf8mb4_general_ci DEFAULT '000000' COMMENT '租户编号',
  `parent_id` bigint DEFAULT '0' COMMENT '父id',
  `dept_id` bigint DEFAULT NULL COMMENT '部门id',
  `user_id` bigint DEFAULT NULL COMMENT '用户id',
  `tree_name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL COMMENT '值',
  `version` int DEFAULT '0' COMMENT '版本',
  `create_dept` bigint DEFAULT NULL COMMENT '创建部门',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `create_by` bigint DEFAULT NULL COMMENT '创建人',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  `update_by` bigint DEFAULT NULL COMMENT '更新人',
  `del_flag` int DEFAULT '0' COMMENT '删除标志',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci COMMENT='测试树表';

-- ----------------------------
-- Records of test_tree
-- ----------------------------
BEGIN;
INSERT INTO `test_tree` (`id`, `tenant_id`, `parent_id`, `dept_id`, `user_id`, `tree_name`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (1, '000000', 0, 102, 4, '测试数据权限', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_tree` (`id`, `tenant_id`, `parent_id`, `dept_id`, `user_id`, `tree_name`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (2, '000000', 1, 102, 3, '子节点1', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_tree` (`id`, `tenant_id`, `parent_id`, `dept_id`, `user_id`, `tree_name`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (3, '000000', 2, 102, 3, '子节点2', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_tree` (`id`, `tenant_id`, `parent_id`, `dept_id`, `user_id`, `tree_name`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (4, '000000', 0, 108, 4, '测试树1', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_tree` (`id`, `tenant_id`, `parent_id`, `dept_id`, `user_id`, `tree_name`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (5, '000000', 4, 108, 3, '子节点11', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_tree` (`id`, `tenant_id`, `parent_id`, `dept_id`, `user_id`, `tree_name`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (6, '000000', 4, 108, 3, '子节点22', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_tree` (`id`, `tenant_id`, `parent_id`, `dept_id`, `user_id`, `tree_name`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (7, '000000', 4, 108, 3, '子节点33', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_tree` (`id`, `tenant_id`, `parent_id`, `dept_id`, `user_id`, `tree_name`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (8, '000000', 5, 108, 3, '子节点44', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_tree` (`id`, `tenant_id`, `parent_id`, `dept_id`, `user_id`, `tree_name`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (9, '000000', 6, 108, 3, '子节点55', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_tree` (`id`, `tenant_id`, `parent_id`, `dept_id`, `user_id`, `tree_name`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (10, '000000', 7, 108, 3, '子节点66', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_tree` (`id`, `tenant_id`, `parent_id`, `dept_id`, `user_id`, `tree_name`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (11, '000000', 7, 108, 3, '子节点77', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_tree` (`id`, `tenant_id`, `parent_id`, `dept_id`, `user_id`, `tree_name`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (12, '000000', 10, 108, 3, '子节点88', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
INSERT INTO `test_tree` (`id`, `tenant_id`, `parent_id`, `dept_id`, `user_id`, `tree_name`, `version`, `create_dept`, `create_time`, `create_by`, `update_time`, `update_by`, `del_flag`) VALUES (13, '000000', 10, 108, 3, '子节点99', 0, 103, '2024-05-21 23:41:32', 1, NULL, NULL, 0);
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
